summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 17:35:07 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 21:20:17 +0100
commit41cb814d3d1382ffef39411fd94da215fab2b518 (patch)
tree9a5c6951030f13717b78caa71600f64a36fff702 /examples/wayland/pure-qml
parente89fa56d822cbc96951b60821b85794f3832d620 (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: I2e238dff7bdda6c47dfbe28e2a560ee4c25f3d02 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/wayland/pure-qml')
-rw-r--r--examples/wayland/pure-qml/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/pure-qml/CMakeLists.txt b/examples/wayland/pure-qml/CMakeLists.txt
index 043f0dec2..bda536bfa 100644
--- a/examples/wayland/pure-qml/CMakeLists.txt
+++ b/examples/wayland/pure-qml/CMakeLists.txt
@@ -22,6 +22,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(pure-qml
main.cpp
)
+set_target_properties(pure-qml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(pure-qml PUBLIC
Qt::Core
Qt::Gui