diff options
Diffstat (limited to 'examples/quickcontrols2/chattutorial')
5 files changed, 20 insertions, 0 deletions
diff --git a/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt index e0c57c4a..07cb58ba 100644 --- a/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt +++ b/examples/quickcontrols2/chattutorial/chapter1-settingup/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick) qt_add_executable(chapter1-settingup main.cpp ) +set_target_properties(chapter1-settingup PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(chapter1-settingup PUBLIC Qt::Core Qt::Gui diff --git a/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt index f34fda60..13db14c9 100644 --- a/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt +++ b/examples/quickcontrols2/chattutorial/chapter2-lists/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick) qt_add_executable(chapter2-lists main.cpp ) +set_target_properties(chapter2-lists PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(chapter2-lists PUBLIC Qt::Core Qt::Gui diff --git a/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt index ba090cc7..a75f26b7 100644 --- a/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt +++ b/examples/quickcontrols2/chattutorial/chapter3-navigation/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick) qt_add_executable(chapter3-navigation main.cpp ) +set_target_properties(chapter3-navigation PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(chapter3-navigation PUBLIC Qt::Core Qt::Gui diff --git a/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt index 82f5ea62..2cd7cd86 100644 --- a/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt +++ b/examples/quickcontrols2/chattutorial/chapter4-models/CMakeLists.txt @@ -26,6 +26,10 @@ qt_add_executable(chapter4-models sqlcontactmodel.cpp sqlcontactmodel.h sqlconversationmodel.cpp sqlconversationmodel.h ) +set_target_properties(chapter4-models PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(chapter4-models PUBLIC Qt::Core Qt::Gui diff --git a/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt b/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt index 205318e3..9c03be4d 100644 --- a/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt +++ b/examples/quickcontrols2/chattutorial/chapter5-styling/CMakeLists.txt @@ -26,6 +26,10 @@ qt_add_executable(chapter5-styling sqlcontactmodel.cpp sqlcontactmodel.h sqlconversationmodel.cpp sqlconversationmodel.h ) +set_target_properties(chapter5-styling PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(chapter5-styling PUBLIC Qt::Core Qt::Gui |