[Insight-users] Annoying console window for Qt + ITK + CMake

William A. Hoffman billlist at nycap.rr.com
Wed Jan 19 14:44:54 EST 2005


See this message:

http://public.kitware.com/pipermail/cmake/2004-June/005177.html
looks like you have to link to qtmain.lib

-Bill

At 02:34 PM 1/19/2005, Pavan Podila wrote:
>HI,
>   Recently I have switched from qmake to CMake. I was successful in compiling and running my application. However I get this annoying console window which I want to get rid of somehow. I tried the Win32 flag in ADD_EXECUTABLE() but then the VS.NET complains about not finding the WinMain().
>   Earlier with qmake I never had this problem. Is there a way to hide this console window. We will be deploying this application on the client-side, so its important that we get rid of the console window. I strongly want to use CMake instead of qmake.
>
>Kindly help,
>Pavan
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list