[vtkusers] How to hide the console for a VTK/Qt app

John Drescher drescherjm at gmail.com
Mon Apr 6 17:47:34 EDT 2009


Did you the following?
> if(WIN32)
>     set_target_properties(WindowApplicationExample PROPERTIES
> LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
>     set_target_properties(WindowApplicationExample PROPERTIES
> RELWITHDEBINFO "/SUBSYSTEM:CONSOLE")
>     set_target_properties(WindowApplicationExample PROPERTIES
> LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS")
>     set_target_properties(WindowApplicationExample PROPERTIES
> MINSIZEREL "/SUBSYSTEM:WINDOWS")
> endif(WIN32)
>

John



More information about the vtkusers mailing list