diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 17:34:34 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 21:20:10 +0100 |
commit | d60ebdda33f112bc0bcf619a1307250710f7e8d5 (patch) | |
tree | 4f8b3faad0fa1ff88b8c210616baa3d13c548ecd /examples/designer/worldtimeclockbuilder | |
parent | e0c08b3bfd0d0a92a8d60991260ee377357fa94e (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/worldtimeclockbuilder')
-rw-r--r-- | examples/designer/worldtimeclockbuilder/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/designer/worldtimeclockbuilder/CMakeLists.txt b/examples/designer/worldtimeclockbuilder/CMakeLists.txt index a042c28a3..2c93155c7 100644 --- a/examples/designer/worldtimeclockbuilder/CMakeLists.txt +++ b/examples/designer/worldtimeclockbuilder/CMakeLists.txt @@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS UiTools) qt_add_executable(worldtimeclockbuilder main.cpp ) +set_target_properties(worldtimeclockbuilder PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(worldtimeclockbuilder PUBLIC Qt::Core Qt::Gui |