summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml
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/simple-qml
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/simple-qml')
-rw-r--r--examples/qt3d/simple-qml/.prev_CMakeLists.txt4
-rw-r--r--examples/qt3d/simple-qml/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/qt3d/simple-qml/.prev_CMakeLists.txt b/examples/qt3d/simple-qml/.prev_CMakeLists.txt
index 8faa23b92..bf9829c31 100644
--- a/examples/qt3d/simple-qml/.prev_CMakeLists.txt
+++ b/examples/qt3d/simple-qml/.prev_CMakeLists.txt
@@ -29,6 +29,10 @@ find_package(Qt6 COMPONENTS 3DQuickExtras)
qt_add_executable(simple-qml
main.cpp
)
+set_target_properties(simple-qml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(simple-qml PUBLIC
Qt::3DCore
Qt::3DInput
diff --git a/examples/qt3d/simple-qml/CMakeLists.txt b/examples/qt3d/simple-qml/CMakeLists.txt
index 6049365c3..675b14396 100644
--- a/examples/qt3d/simple-qml/CMakeLists.txt
+++ b/examples/qt3d/simple-qml/CMakeLists.txt
@@ -29,6 +29,10 @@ find_package(Qt6 COMPONENTS 3DQuickExtras)
qt_add_executable(simple-qml
main.cpp
)
+set_target_properties(simple-qml PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(simple-qml PUBLIC
Qt::3DCore
Qt::3DInput