summaryrefslogtreecommitdiffstats
path: root/examples/quick
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
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')
-rw-r--r--examples/quick/animation/CMakeLists.txt4
-rw-r--r--examples/quick/canvas/CMakeLists.txt4
-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
-rw-r--r--examples/quick/delegatechooser/CMakeLists.txt4
-rw-r--r--examples/quick/draganddrop/CMakeLists.txt4
-rw-r--r--examples/quick/embeddedinwidgets/CMakeLists.txt4
-rw-r--r--examples/quick/externaldraganddrop/CMakeLists.txt4
-rw-r--r--examples/quick/imageelements/CMakeLists.txt4
-rw-r--r--examples/quick/imageprovider/CMakeLists.txt4
-rw-r--r--examples/quick/imageresponseprovider/CMakeLists.txt4
-rw-r--r--examples/quick/keyinteraction/CMakeLists.txt4
-rw-r--r--examples/quick/layouts/CMakeLists.txt4
-rw-r--r--examples/quick/localstorage/localstorage/CMakeLists.txt4
-rw-r--r--examples/quick/models/abstractitemmodel/CMakeLists.txt4
-rw-r--r--examples/quick/models/objectlistmodel/CMakeLists.txt4
-rw-r--r--examples/quick/models/stringlistmodel/CMakeLists.txt4
-rw-r--r--examples/quick/mousearea/CMakeLists.txt4
-rw-r--r--examples/quick/particles/affectors/CMakeLists.txt4
-rw-r--r--examples/quick/particles/emitters/CMakeLists.txt4
-rw-r--r--examples/quick/particles/imageparticle/CMakeLists.txt4
-rw-r--r--examples/quick/particles/itemparticle/CMakeLists.txt4
-rw-r--r--examples/quick/particles/system/CMakeLists.txt4
-rw-r--r--examples/quick/positioners/CMakeLists.txt4
-rw-r--r--examples/quick/quick-accessibility/CMakeLists.txt4
-rw-r--r--examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt4
-rw-r--r--examples/quick/quickwidgets/quickwidget/CMakeLists.txt4
-rw-r--r--examples/quick/rendercontrol/rendercontrol_d3d11/CMakeLists.txt4
-rw-r--r--examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt4
-rw-r--r--examples/quick/righttoleft/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/customgeometry/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/custommaterial/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/d3d11underqml/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/fboitem/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/graph/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/metaltextureimport/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/metalunderqml/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/openglunderqml/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/threadedanimation/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/twotextureproviders/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt4
-rw-r--r--examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt4
-rw-r--r--examples/quick/shadereffects/CMakeLists.txt4
-rw-r--r--examples/quick/shapes/CMakeLists.txt4
-rw-r--r--examples/quick/tableview/gameoflife/CMakeLists.txt4
-rw-r--r--examples/quick/tableview/pixelator/CMakeLists.txt4
-rw-r--r--examples/quick/text/CMakeLists.txt4
-rw-r--r--examples/quick/threading/CMakeLists.txt4
-rw-r--r--examples/quick/touchinteraction/CMakeLists.txt4
-rw-r--r--examples/quick/views/CMakeLists.txt4
-rw-r--r--examples/quick/window/CMakeLists.txt4
54 files changed, 216 insertions, 0 deletions
diff --git a/examples/quick/animation/CMakeLists.txt b/examples/quick/animation/CMakeLists.txt
index 54913733a8..4352823374 100644
--- a/examples/quick/animation/CMakeLists.txt
+++ b/examples/quick/animation/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(animation
main.cpp
)
+set_target_properties(animation PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(animation PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/canvas/CMakeLists.txt b/examples/quick/canvas/CMakeLists.txt
index cc4911bd3b..ef978ee80b 100644
--- a/examples/quick/canvas/CMakeLists.txt
+++ b/examples/quick/canvas/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(canvas
main.cpp
)
+set_target_properties(canvas PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(canvas PUBLIC
Qt::Core
Qt::Gui
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
diff --git a/examples/quick/delegatechooser/CMakeLists.txt b/examples/quick/delegatechooser/CMakeLists.txt
index 1e51098c98..dc45ad5c3c 100644
--- a/examples/quick/delegatechooser/CMakeLists.txt
+++ b/examples/quick/delegatechooser/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(delegatechooser
main.cpp
)
+set_target_properties(delegatechooser PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(delegatechooser PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/draganddrop/CMakeLists.txt b/examples/quick/draganddrop/CMakeLists.txt
index ff910754bb..fe0107938a 100644
--- a/examples/quick/draganddrop/CMakeLists.txt
+++ b/examples/quick/draganddrop/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(draganddrop
main.cpp
)
+set_target_properties(draganddrop PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(draganddrop PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/embeddedinwidgets/CMakeLists.txt b/examples/quick/embeddedinwidgets/CMakeLists.txt
index c7e0a49293..4862e58f5c 100644
--- a/examples/quick/embeddedinwidgets/CMakeLists.txt
+++ b/examples/quick/embeddedinwidgets/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(embeddedinwidgets
main.cpp
)
+set_target_properties(embeddedinwidgets PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(embeddedinwidgets PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/externaldraganddrop/CMakeLists.txt b/examples/quick/externaldraganddrop/CMakeLists.txt
index aadbaf1f28..2f801b3045 100644
--- a/examples/quick/externaldraganddrop/CMakeLists.txt
+++ b/examples/quick/externaldraganddrop/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(externaldraganddrop
main.cpp
)
+set_target_properties(externaldraganddrop PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(externaldraganddrop PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/imageelements/CMakeLists.txt b/examples/quick/imageelements/CMakeLists.txt
index eaa683ecf1..ea354c3305 100644
--- a/examples/quick/imageelements/CMakeLists.txt
+++ b/examples/quick/imageelements/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(imageelements
main.cpp
)
+set_target_properties(imageelements PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(imageelements PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/imageprovider/CMakeLists.txt b/examples/quick/imageprovider/CMakeLists.txt
index a62585a84c..e3318b0755 100644
--- a/examples/quick/imageprovider/CMakeLists.txt
+++ b/examples/quick/imageprovider/CMakeLists.txt
@@ -30,6 +30,10 @@ qt6_add_qml_module(qmlimageproviderplugin
target_sources(qmlimageproviderplugin PRIVATE
imageprovider.cpp
)
+set_target_properties(qmlimageproviderplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(qmlimageproviderplugin PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/imageresponseprovider/CMakeLists.txt b/examples/quick/imageresponseprovider/CMakeLists.txt
index 328dc321f1..5f282a0fb9 100644
--- a/examples/quick/imageresponseprovider/CMakeLists.txt
+++ b/examples/quick/imageresponseprovider/CMakeLists.txt
@@ -30,6 +30,10 @@ qt6_add_qml_module(qmlimageresponseproviderplugin
target_sources(qmlimageresponseproviderplugin PRIVATE
imageresponseprovider.cpp
)
+set_target_properties(qmlimageresponseproviderplugin PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(qmlimageresponseproviderplugin PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/keyinteraction/CMakeLists.txt b/examples/quick/keyinteraction/CMakeLists.txt
index b726ffc4b2..b62d6754d3 100644
--- a/examples/quick/keyinteraction/CMakeLists.txt
+++ b/examples/quick/keyinteraction/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(keyinteraction
main.cpp
)
+set_target_properties(keyinteraction PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(keyinteraction PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/layouts/CMakeLists.txt b/examples/quick/layouts/CMakeLists.txt
index a04ac4cbf7..e87ef25e92 100644
--- a/examples/quick/layouts/CMakeLists.txt
+++ b/examples/quick/layouts/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(layouts
main.cpp
)
+set_target_properties(layouts PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(layouts PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/localstorage/localstorage/CMakeLists.txt b/examples/quick/localstorage/localstorage/CMakeLists.txt
index 5bf8b1dac1..db32a5e2eb 100644
--- a/examples/quick/localstorage/localstorage/CMakeLists.txt
+++ b/examples/quick/localstorage/localstorage/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(localstorage
main.cpp
)
+set_target_properties(localstorage PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(localstorage PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/models/abstractitemmodel/CMakeLists.txt b/examples/quick/models/abstractitemmodel/CMakeLists.txt
index 1e67db9295..992fdd0f8a 100644
--- a/examples/quick/models/abstractitemmodel/CMakeLists.txt
+++ b/examples/quick/models/abstractitemmodel/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(abstractitemmodel
main.cpp
model.cpp model.h
)
+set_target_properties(abstractitemmodel PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(abstractitemmodel PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/models/objectlistmodel/CMakeLists.txt b/examples/quick/models/objectlistmodel/CMakeLists.txt
index acc38f8545..23b4cf7ed5 100644
--- a/examples/quick/models/objectlistmodel/CMakeLists.txt
+++ b/examples/quick/models/objectlistmodel/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(objectlistmodel
dataobject.cpp dataobject.h
main.cpp
)
+set_target_properties(objectlistmodel PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(objectlistmodel PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/models/stringlistmodel/CMakeLists.txt b/examples/quick/models/stringlistmodel/CMakeLists.txt
index 92842da4a5..acf6be6981 100644
--- a/examples/quick/models/stringlistmodel/CMakeLists.txt
+++ b/examples/quick/models/stringlistmodel/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(stringlistmodel
main.cpp
)
+set_target_properties(stringlistmodel PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(stringlistmodel PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/mousearea/CMakeLists.txt b/examples/quick/mousearea/CMakeLists.txt
index bd62c0e60e..941f02b613 100644
--- a/examples/quick/mousearea/CMakeLists.txt
+++ b/examples/quick/mousearea/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(mousearea
main.cpp
)
+set_target_properties(mousearea PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(mousearea PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/particles/affectors/CMakeLists.txt b/examples/quick/particles/affectors/CMakeLists.txt
index b4d77b9cc4..1e65a15d2e 100644
--- a/examples/quick/particles/affectors/CMakeLists.txt
+++ b/examples/quick/particles/affectors/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(affectors
main.cpp
)
+set_target_properties(affectors PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(affectors PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/particles/emitters/CMakeLists.txt b/examples/quick/particles/emitters/CMakeLists.txt
index 6fb90d54f2..a6ca0875ce 100644
--- a/examples/quick/particles/emitters/CMakeLists.txt
+++ b/examples/quick/particles/emitters/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(emitters
main.cpp
)
+set_target_properties(emitters PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(emitters PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/particles/imageparticle/CMakeLists.txt b/examples/quick/particles/imageparticle/CMakeLists.txt
index 0a9d9b2af0..29bddbb0db 100644
--- a/examples/quick/particles/imageparticle/CMakeLists.txt
+++ b/examples/quick/particles/imageparticle/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(imageparticle
main.cpp
)
+set_target_properties(imageparticle PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(imageparticle PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/particles/itemparticle/CMakeLists.txt b/examples/quick/particles/itemparticle/CMakeLists.txt
index 0f0d5b181e..bb88ffb633 100644
--- a/examples/quick/particles/itemparticle/CMakeLists.txt
+++ b/examples/quick/particles/itemparticle/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(itemparticle
main.cpp
)
+set_target_properties(itemparticle PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(itemparticle PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/particles/system/CMakeLists.txt b/examples/quick/particles/system/CMakeLists.txt
index 5071830e21..737dc5f90b 100644
--- a/examples/quick/particles/system/CMakeLists.txt
+++ b/examples/quick/particles/system/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(system
main.cpp
)
+set_target_properties(system PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(system PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/positioners/CMakeLists.txt b/examples/quick/positioners/CMakeLists.txt
index 2b0bf2a2c3..07205cbfa5 100644
--- a/examples/quick/positioners/CMakeLists.txt
+++ b/examples/quick/positioners/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(positioners
main.cpp
)
+set_target_properties(positioners PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(positioners PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/quick-accessibility/CMakeLists.txt b/examples/quick/quick-accessibility/CMakeLists.txt
index 379c72a6e7..ae216735a2 100644
--- a/examples/quick/quick-accessibility/CMakeLists.txt
+++ b/examples/quick/quick-accessibility/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(quick-accessibility
main.cpp
)
+set_target_properties(quick-accessibility PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(quick-accessibility PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt b/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt
index 1fdf909ab8..408bfb0ad2 100644
--- a/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt
+++ b/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt
@@ -27,6 +27,10 @@ qt_add_executable(qquickviewcomparison
main.cpp
mainwindow.cpp mainwindow.h
)
+set_target_properties(qquickviewcomparison PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(qquickviewcomparison PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/quickwidgets/quickwidget/CMakeLists.txt b/examples/quick/quickwidgets/quickwidget/CMakeLists.txt
index 484709fdae..5cd4b9445a 100644
--- a/examples/quick/quickwidgets/quickwidget/CMakeLists.txt
+++ b/examples/quick/quickwidgets/quickwidget/CMakeLists.txt
@@ -25,6 +25,10 @@ qt_add_executable(quickwidget
fbitem.cpp fbitem.h
main.cpp
)
+set_target_properties(quickwidget PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(quickwidget PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/rendercontrol/rendercontrol_d3d11/CMakeLists.txt b/examples/quick/rendercontrol/rendercontrol_d3d11/CMakeLists.txt
index 74d4d55ac7..949c609af1 100644
--- a/examples/quick/rendercontrol/rendercontrol_d3d11/CMakeLists.txt
+++ b/examples/quick/rendercontrol/rendercontrol_d3d11/CMakeLists.txt
@@ -25,6 +25,10 @@ qt_add_executable(rendercontrol_d3d11
main.cpp
window.cpp window.h
)
+set_target_properties(rendercontrol_d3d11 PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(rendercontrol_d3d11 PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt b/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt
index f5d1c9026e..3445fd00cb 100644
--- a/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt
+++ b/examples/quick/rendercontrol/rendercontrol_opengl/CMakeLists.txt
@@ -26,6 +26,10 @@ qt_add_executable(rendercontrol_opengl
main.cpp
window_singlethreaded.cpp window_singlethreaded.h
)
+set_target_properties(rendercontrol_opengl PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(rendercontrol_opengl PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/righttoleft/CMakeLists.txt b/examples/quick/righttoleft/CMakeLists.txt
index 9eb7665dc0..5faf4bda61 100644
--- a/examples/quick/righttoleft/CMakeLists.txt
+++ b/examples/quick/righttoleft/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(righttoleft
main.cpp
)
+set_target_properties(righttoleft PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(righttoleft PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt b/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt
index b4f77372de..28613e67a3 100644
--- a/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt
+++ b/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt
@@ -23,6 +23,10 @@ qt_add_executable(customgeometry
beziercurve.cpp beziercurve.h
main.cpp
)
+set_target_properties(customgeometry PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(customgeometry PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/customgeometry/CMakeLists.txt b/examples/quick/scenegraph/customgeometry/CMakeLists.txt
index c9a49a4752..0e54c00d24 100644
--- a/examples/quick/scenegraph/customgeometry/CMakeLists.txt
+++ b/examples/quick/scenegraph/customgeometry/CMakeLists.txt
@@ -23,6 +23,10 @@ qt_add_executable(customgeometry_declarative # special case
beziercurve.cpp beziercurve.h
main.cpp
)
+set_target_properties(customgeometry_declarative PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(customgeometry_declarative PUBLIC # special case
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt b/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt
index d409fd1086..6acf1a858b 100644
--- a/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt
+++ b/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(custommaterial
customitem.cpp customitem.h
main.cpp
)
+set_target_properties(custommaterial PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(custommaterial PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/custommaterial/CMakeLists.txt b/examples/quick/scenegraph/custommaterial/CMakeLists.txt
index e57a82b395..46cb238af8 100644
--- a/examples/quick/scenegraph/custommaterial/CMakeLists.txt
+++ b/examples/quick/scenegraph/custommaterial/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(custommaterial_declarative # special case
customitem.cpp customitem.h
main.cpp
)
+set_target_properties(custommaterial_declarative PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(custommaterial_declarative PUBLIC # special case
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt
index 8eca755be8..b443ffb29f 100644
--- a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt
+++ b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(d3d11underqml
d3d11squircle.cpp d3d11squircle.h
main.cpp
)
+set_target_properties(d3d11underqml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(d3d11underqml PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/fboitem/CMakeLists.txt b/examples/quick/scenegraph/fboitem/CMakeLists.txt
index 46f729a0cd..a9c460b228 100644
--- a/examples/quick/scenegraph/fboitem/CMakeLists.txt
+++ b/examples/quick/scenegraph/fboitem/CMakeLists.txt
@@ -25,6 +25,10 @@ qt_add_executable(fboitem
fboinsgrenderer.cpp fboinsgrenderer.h
main.cpp
)
+set_target_properties(fboitem PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_include_directories(fboitem PUBLIC
../shared
)
diff --git a/examples/quick/scenegraph/graph/CMakeLists.txt b/examples/quick/scenegraph/graph/CMakeLists.txt
index 312cc68713..6066a58499 100644
--- a/examples/quick/scenegraph/graph/CMakeLists.txt
+++ b/examples/quick/scenegraph/graph/CMakeLists.txt
@@ -26,6 +26,10 @@ qt_add_executable(graph
main.cpp
noisynode.cpp noisynode.h
)
+set_target_properties(graph PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(graph PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt
index 9427df536c..d01ee2a3df 100644
--- a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt
+++ b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(metaltextureimport
main.cpp
metaltextureimport.h metaltextureimport.mm
)
+set_target_properties(metaltextureimport PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(metaltextureimport PUBLIC
"-framework Metal"
Qt::Core
diff --git a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt
index c4b1869d1c..1cbff4c7f5 100644
--- a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt
+++ b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(metalunderqml
main.cpp
metalsquircle.h metalsquircle.mm
)
+set_target_properties(metalunderqml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(metalunderqml PUBLIC
"-framework Metal"
Qt::Core
diff --git a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt
index e9c668083a..0772c05259 100644
--- a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt
+++ b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(openglunderqml
main.cpp
squircle.cpp squircle.h
)
+set_target_properties(openglunderqml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(openglunderqml PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt
index 4fbe2d7518..de00297e69 100644
--- a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt
+++ b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(threadedanimation
main.cpp
spinner.cpp spinner.h
)
+set_target_properties(threadedanimation PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(threadedanimation PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt
index b8ec2724e8..5515a14b23 100644
--- a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt
+++ b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(twotextureproviders
main.cpp
xorblender.cpp xorblender.h
)
+set_target_properties(twotextureproviders PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(twotextureproviders PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt b/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt
index a0ee87fdd5..b26aedf6ee 100644
--- a/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt
+++ b/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(vulkantextureimport
main.cpp
vulkantextureimport.cpp vulkantextureimport.h
)
+set_target_properties(vulkantextureimport PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(vulkantextureimport PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt b/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt
index 27d1e2baac..96741c6e86 100644
--- a/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt
+++ b/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(vulkanunderqml
main.cpp
vulkansquircle.cpp vulkansquircle.h
)
+set_target_properties(vulkanunderqml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(vulkanunderqml PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/shadereffects/CMakeLists.txt b/examples/quick/shadereffects/CMakeLists.txt
index 941ad279c9..136cff7783 100644
--- a/examples/quick/shadereffects/CMakeLists.txt
+++ b/examples/quick/shadereffects/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(shadereffects
main.cpp
)
+set_target_properties(shadereffects PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(shadereffects PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/shapes/CMakeLists.txt b/examples/quick/shapes/CMakeLists.txt
index fc449c8e5f..517f986e27 100644
--- a/examples/quick/shapes/CMakeLists.txt
+++ b/examples/quick/shapes/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(shapes
main.cpp
)
+set_target_properties(shapes PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(shapes PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/tableview/gameoflife/CMakeLists.txt b/examples/quick/tableview/gameoflife/CMakeLists.txt
index 3ee3a7584d..4592943c11 100644
--- a/examples/quick/tableview/gameoflife/CMakeLists.txt
+++ b/examples/quick/tableview/gameoflife/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(gameoflife
gameoflifemodel.cpp gameoflifemodel.h
main.cpp
)
+set_target_properties(gameoflife PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(gameoflife PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/tableview/pixelator/CMakeLists.txt b/examples/quick/tableview/pixelator/CMakeLists.txt
index ccefb588e9..41b0a139c8 100644
--- a/examples/quick/tableview/pixelator/CMakeLists.txt
+++ b/examples/quick/tableview/pixelator/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(qml_pixelator
imagemodel.cpp imagemodel.h
main.cpp
)
+set_target_properties(qml_pixelator PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(qml_pixelator PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/text/CMakeLists.txt b/examples/quick/text/CMakeLists.txt
index 00ebc61d62..20d4228bcf 100644
--- a/examples/quick/text/CMakeLists.txt
+++ b/examples/quick/text/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(text
main.cpp
)
+set_target_properties(text PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(text PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/threading/CMakeLists.txt b/examples/quick/threading/CMakeLists.txt
index edf3be9698..3dcc58158e 100644
--- a/examples/quick/threading/CMakeLists.txt
+++ b/examples/quick/threading/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(threading
main.cpp
)
+set_target_properties(threading PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(threading PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/touchinteraction/CMakeLists.txt b/examples/quick/touchinteraction/CMakeLists.txt
index 090895bc26..af3219ac7d 100644
--- a/examples/quick/touchinteraction/CMakeLists.txt
+++ b/examples/quick/touchinteraction/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(touchinteraction
main.cpp
)
+set_target_properties(touchinteraction PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(touchinteraction PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/views/CMakeLists.txt b/examples/quick/views/CMakeLists.txt
index f2b2a1eb09..9951bd48ff 100644
--- a/examples/quick/views/CMakeLists.txt
+++ b/examples/quick/views/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(views
main.cpp
)
+set_target_properties(views PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(views PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/quick/window/CMakeLists.txt b/examples/quick/window/CMakeLists.txt
index 8c4d790170..4fa2bcac4c 100644
--- a/examples/quick/window/CMakeLists.txt
+++ b/examples/quick/window/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(window
main.cpp
)
+set_target_properties(window PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(window PUBLIC
Qt::Core
Qt::Gui