summaryrefslogtreecommitdiffstats
path: root/examples/designer/worldtimeclockplugin
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/designer/worldtimeclockplugin
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/designer/worldtimeclockplugin')
-rw-r--r--examples/designer/worldtimeclockplugin/.prev_CMakeLists.txt4
-rw-r--r--examples/designer/worldtimeclockplugin/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/designer/worldtimeclockplugin/.prev_CMakeLists.txt b/examples/designer/worldtimeclockplugin/.prev_CMakeLists.txt
index ba606e2f7..1886b1ce6 100644
--- a/examples/designer/worldtimeclockplugin/.prev_CMakeLists.txt
+++ b/examples/designer/worldtimeclockplugin/.prev_CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(worldtimeclockplugin
worldtimeclock.cpp worldtimeclock.h
worldtimeclockplugin.cpp worldtimeclockplugin.h
)
+set_target_properties(worldtimeclockplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(worldtimeclockplugin PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/designer/worldtimeclockplugin/CMakeLists.txt b/examples/designer/worldtimeclockplugin/CMakeLists.txt
index daff406c6..6e675fc9b 100644
--- a/examples/designer/worldtimeclockplugin/CMakeLists.txt
+++ b/examples/designer/worldtimeclockplugin/CMakeLists.txt
@@ -27,6 +27,10 @@ target_sources(worldtimeclockplugin PRIVATE
worldtimeclockplugin.cpp worldtimeclockplugin.h
)
# special case end
+set_target_properties(worldtimeclockplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(worldtimeclockplugin PUBLIC
Qt::Core
Qt::Gui