aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/customitems
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 17:09:47 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 23:38:39 +0100
commit20d5e2d7efd458671e2830e94cd8bc30e14361e5 (patch)
treeb0cfe10bb101ee56eb1c2c4d0750fc33819aa324 /examples/quick/customitems
parent880b937b6c67df35eea46cec9f4580dc79e21a99 (diff)
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Task-number: QTBUG-86827 Change-Id: I46769fb543acb2cbeba122470b5e44ad478fbe4e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/quick/customitems')
-rw-r--r--examples/quick/customitems/dialcontrol/CMakeLists.txt4
-rw-r--r--examples/quick/customitems/maskedmousearea/CMakeLists.txt4
-rw-r--r--examples/quick/customitems/painteditem/CMakeLists.txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/examples/quick/customitems/dialcontrol/CMakeLists.txt b/examples/quick/customitems/dialcontrol/CMakeLists.txt
index 755110da9c..9d2fa2818a 100644
--- a/examples/quick/customitems/dialcontrol/CMakeLists.txt
+++ b/examples/quick/customitems/dialcontrol/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(dialcontrol
main.cpp
)
+set_target_properties(dialcontrol PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(dialcontrol PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/customitems/maskedmousearea/CMakeLists.txt b/examples/quick/customitems/maskedmousearea/CMakeLists.txt
index fb3ece011a..0c5a19b5e7 100644
--- a/examples/quick/customitems/maskedmousearea/CMakeLists.txt
+++ b/examples/quick/customitems/maskedmousearea/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(maskedmousearea
main.cpp
maskedmousearea.cpp maskedmousearea.h
)
+set_target_properties(maskedmousearea PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(maskedmousearea PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/customitems/painteditem/CMakeLists.txt b/examples/quick/customitems/painteditem/CMakeLists.txt
index 558a0fb716..533396a7cd 100644
--- a/examples/quick/customitems/painteditem/CMakeLists.txt
+++ b/examples/quick/customitems/painteditem/CMakeLists.txt
@@ -31,6 +31,10 @@ target_sources(qmltextballoonplugin PRIVATE
TextBalloonPlugin/plugin.h
textballoon.cpp textballoon.h
)
+set_target_properties(qmltextballoonplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(qmltextballoonplugin PUBLIC
Qt::Core
Qt::Gui