<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>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.<br><br>Regards,<br>Rashid<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> G G &lt;greenlander1986@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> vtkusers@vtk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, April 27, 2011 3:57:08 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [vtkusers] QT + VKT + ITK + VS2008<br></font><br>
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? <br>
<br>I think, that it is because of CMake, but I dont know very well. <br>I tried to used this <br><span><a target="_blank" href="http://www.qtforum.org/article/18473/tutorial-for-using-qt-with-vtk.html">http://www.qtforum.org/article/18473/tutorial-for-using-qt-with-vtk.html</a></span><br>
But when I tried to compile it, it gave me many errors... <br>Do you know some complete progress, how to compile it? <br>Or how to disable console window?<br><br>I dont have console window because of it get me qWarning <br>
<br>QObject::killTimers: timers cannot be stopped from another thread<br><br>when I exit application from console window. <br>When I exit application from GUI console window freeze :(<br><br>Thank you all for help<br>
</div></div>
</div></body></html>