[vtkusers] VTK+Qt on ubuntu 9.10
ruben.hernando.vaca at upc.edu
ruben.hernando.vaca at upc.edu
Thu Aug 5 07:18:57 EDT 2010
Hi,
Well, this is my problem when I debut on QT + VTK + QTCREATOR:
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
vtkWidget = new QVTKWidget(this,QFlag(0));
ui->verticalLayout->addWidget(vtkWidget);
ui->verticalLayout->update();
ren = vtkRenderer::New();
vtkWidget->GetRenderWindow()->AddRenderer(ren);
ren->SetBackground(1.0,1.0,1.0);
ren->Render();----------------------->PROBLEM!!!! -->>>The
inferior stopped because it received a signal from the Operating
System. Signal name : SIGSEGV - Signal meaning : Segmentation fault
}
When I debut, with Qtcreator everything is ok until the instrucction
ren->Render() is executed and have the message: The inferior stopped
because it received a signal from the Operating System. Signal name
: SIGSEGV - Signal meaning : Segmentation fault.
I have the same message when at the command line i use qmake, make....
My Desktop PC has: Ati X1300, the openGL runs so good and the qtdemo is ok.
On the other hand I have laptop HP with the same S.O ubuntu 9.10 and
run QT+VTK+QTCreator, the different thing is the Card which is the
NVIDIA, but i don't thing so it would be that because the openGl runs
so good in my Desktop PC.
Another things is that in the Desktop PC I display two monitors in
dual-mode thats mean that the graphic card configuration is good.
What happened?? I know, there are three topics QT,VTK and linux but I
so sure the problem is VTK.
Thanks for all
Ruben.
More information about the vtkusers
mailing list