summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene2d
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-05-18 15:11:15 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-05-18 16:27:34 +0200
commitb7b7285d0198c6d7e0e2f1a10a90a386e04f9e90 (patch)
tree2d793c8965894cb89de8be0dfb6a798079da82ac /examples/qt3d/scene2d
parent31cdcad750522ee16d59f0fd1e27fcadbe68e524 (diff)
Re-generate CMake project files for examples
Pick-to: 6.1 Change-Id: Ic123a704f904096e112b5bdece167800dfc295bb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/qt3d/scene2d')
-rw-r--r--examples/qt3d/scene2d/.prev_CMakeLists.txt4
-rw-r--r--examples/qt3d/scene2d/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/qt3d/scene2d/.prev_CMakeLists.txt b/examples/qt3d/scene2d/.prev_CMakeLists.txt
index ac9d0c5b7..d76ae1356 100644
--- a/examples/qt3d/scene2d/.prev_CMakeLists.txt
+++ b/examples/qt3d/scene2d/.prev_CMakeLists.txt
@@ -25,6 +25,10 @@ find_package(Qt6 COMPONENTS 3DQuickExtras)
qt_add_executable(scene2d
main.cpp
)
+set_target_properties(scene2d PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(scene2d PUBLIC
Qt::3DQuick
Qt::3DQuickExtras
diff --git a/examples/qt3d/scene2d/CMakeLists.txt b/examples/qt3d/scene2d/CMakeLists.txt
index 5fae98613..28c12c159 100644
--- a/examples/qt3d/scene2d/CMakeLists.txt
+++ b/examples/qt3d/scene2d/CMakeLists.txt
@@ -25,6 +25,10 @@ find_package(Qt6 COMPONENTS 3DQuickExtras)
qt_add_executable(scene2dsample # special case
main.cpp
)
+set_target_properties(scene2dsample PROPERTIES # special case
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(scene2dsample PUBLIC # special case
Qt::3DQuick
Qt::3DQuickExtras