<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi, <br>I might be missing some information here then. I used QT VS 2008 plugin for creating teh QT App, added QVTK Widget and never got this problem. <br><br>GG, i would suggest that you add a wiki entry at VTK Wiki for this problem's resolution, will be helpful for others. <br><br>Regards,<br>Rashid<br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> John Drescher <drescherjm@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Rashid Tanweer <quantum_cook@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> G G <greenlander1986@gmail.com>; vtkusers@vtk.org<br><b><span
style="font-weight: bold;">Sent:</span></b> Thu, April 28, 2011 7:00:38 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] QT + VKT + ITK + VS2008<br></font><br>
On Thu, Apr 28, 2011 at 9:53 AM, Rashid Tanweer <<a ymailto="mailto:quantum_cook@yahoo.com" href="mailto:quantum_cook@yahoo.com">quantum_cook@yahoo.com</a>> wrote:<br>> Why dont you use QVTKWidget ?? It will get rid of your console...and will<br>> run QT application with VTK embedded in it just like any other QT Widget.<br>><br><br>That does not get rid of the console on windows. The default CMake<br>options create a console application on windows. When the application<br>starts a command shell pops up along with the GUI. Setting the WIN32<br>option for ADD_EXECUTABLE gets rid of this console.<br><br>John<br></div></div>
</div></body></html>