| Version 3 (modified by , 11 years ago) ( diff ) |
|---|
Contents
FAQ -- common tips
Execution of an application without displaying a command prompt in Microsoft Windows using CMake
Solution
Add in your CMakeLists.txt :
IF(WIN32)
LINK_LIBRARIES(${QT_QTMAIN_LIBRARY})
SET(GUI_TYPE WIN32)
ENDIF(WIN32)
Note:
See TracWiki
for help on using the wiki.
