[vtkusers] QT + VKT + ITK + VS2008

Dženan Zukić dzenanz at gmail.com
Thu May 5 04:23:54 EDT 2011


Adding the following lines to main.cpp file works for me (keeping default
CMake options):

#ifdef _WINDOWS
#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
//disables cmd window in VS2008
#endif

On Thu, Apr 28, 2011 at 23:40, John Drescher <drescherjm at gmail.com> wrote:

> > 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.
> >
>
> We were talking about creating your project with CMake as the project
> generator. Not with any Visual Studio widget. Also not by creating a
> visual studio solution directly then handling the includes and linking
> on your own.
>
> > GG, i would suggest that you add a wiki entry at VTK Wiki for this
> problem's
> > resolution, will be helpful for others.
> >
>
> John
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110505/e06fb2c9/attachment.htm>


More information about the vtkusers mailing list