# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-06-21 08:23:54 # Node ID df036ae583997eb720cb947f9c85f0c31b185c5d # Parent b9eef7ef3cbbc0746409f25f693b669098e49e45 disabled command window on launch diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ include_directories(${QWT_INCLUDE_DIR}) qt5_wrap_ui(UI_FILES mainwindow.ui portcontrol.ui about_dialog.ui) # Tell CMake to create the helloworld executable -add_executable(serialplot main.cpp mainwindow.cpp portcontrol.cpp +add_executable(serialplot WIN32 main.cpp mainwindow.cpp portcontrol.cpp customcheckablebutton.cpp ${UI_FILES} misc/windows_icon.rc) # Use the Widgets module from Qt 5.