summaryrefslogtreecommitdiffstats
path: root/examples/linguist
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 17:34:34 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 21:20:10 +0100
commitd60ebdda33f112bc0bcf619a1307250710f7e8d5 (patch)
tree4f8b3faad0fa1ff88b8c210616baa3d13c548ecd /examples/linguist
parente0c08b3bfd0d0a92a8d60991260ee377357fa94e (diff)
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Change-Id: I26917656f6f2b653649765ebbea4e3f348b22ae7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/linguist')
-rw-r--r--examples/linguist/arrowpad/CMakeLists.txt4
-rw-r--r--examples/linguist/hellotr/CMakeLists.txt4
-rw-r--r--examples/linguist/trollprint/CMakeLists.txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/examples/linguist/arrowpad/CMakeLists.txt b/examples/linguist/arrowpad/CMakeLists.txt
index e2fdf489e..cf652c8f2 100644
--- a/examples/linguist/arrowpad/CMakeLists.txt
+++ b/examples/linguist/arrowpad/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(arrowpad
main.cpp
mainwindow.cpp mainwindow.h
)
+set_target_properties(arrowpad PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(arrowpad PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/linguist/hellotr/CMakeLists.txt b/examples/linguist/hellotr/CMakeLists.txt
index 06ad4c18b..c9c65ac6c 100644
--- a/examples/linguist/hellotr/CMakeLists.txt
+++ b/examples/linguist/hellotr/CMakeLists.txt
@@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Widgets)
qt_add_executable(hellotr
main.cpp
)
+set_target_properties(hellotr PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(hellotr PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/linguist/trollprint/CMakeLists.txt b/examples/linguist/trollprint/CMakeLists.txt
index 74b93af9b..e1c953cdf 100644
--- a/examples/linguist/trollprint/CMakeLists.txt
+++ b/examples/linguist/trollprint/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(trollprint
mainwindow.cpp mainwindow.h
printpanel.cpp printpanel.h
)
+set_target_properties(trollprint PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(trollprint PUBLIC
Qt::Core
Qt::Gui