[vtkusers] QT + VKT + ITK + VS2008

Rashid Tanweer quantum_cook at yahoo.com
Thu Apr 28 09:53:48 EDT 2011


Why dont you use QVTKWidget ?? It will get rid of your console...and will run QT 
application with VTK embedded in it just like any other QT Widget.

Regards,
Rashid




________________________________
From: G G <greenlander1986 at gmail.com>
To: vtkusers at vtk.org
Sent: Wed, April 27, 2011 3:57:08 PM
Subject: [vtkusers] QT + VKT + ITK + VS2008

Hi I have some project with QT+VTK+ITK and I compile it in Visual Studio 2008. I 
create solution with CMake. It works fine. But I compile it and run. When I run 
it, I have GUI window and console window. So I have question. How to disable 
console window? 


I think, that it is because of CMake, but I dont know very well. 
I tried to used this 
http://www.qtforum.org/article/18473/tutorial-for-using-qt-with-vtk.html
But when I tried to compile it, it gave me many errors... 
Do you know some complete progress, how to compile it? 
Or how to disable console window?

I dont have console window because of it get me qWarning 

QObject::killTimers: timers cannot be stopped from another thread

when I exit application from console window. 
When I exit application from GUI console window freeze :(

Thank you all for help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110428/57046342/attachment.htm>


More information about the vtkusers mailing list