summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 16:33:57 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-20 18:33:29 +0200
commite25cd0b8b81b3ddd373a4d13ee303d37a5fb5a8a (patch)
tree238d178a28e522e3c7b2b96702444b6735d4eee6 /examples/qt3d/simple-qml
parent274e15a01111562873570746b115ef8a264ba0f9 (diff)
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: I594521a2b9aada164d684b8ef6ce71c730bfb64a Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples/qt3d/simple-qml')
-rw-r--r--examples/qt3d/simple-qml/.prev_CMakeLists.txt2
-rw-r--r--examples/qt3d/simple-qml/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/simple-qml/.prev_CMakeLists.txt b/examples/qt3d/simple-qml/.prev_CMakeLists.txt
index 03aeeac0e..8faa23b92 100644
--- a/examples/qt3d/simple-qml/.prev_CMakeLists.txt
+++ b/examples/qt3d/simple-qml/.prev_CMakeLists.txt
@@ -26,7 +26,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS 3DQuickExtras)
-add_qt_gui_executable(simple-qml
+qt_add_executable(simple-qml
main.cpp
)
target_link_libraries(simple-qml PUBLIC
diff --git a/examples/qt3d/simple-qml/CMakeLists.txt b/examples/qt3d/simple-qml/CMakeLists.txt
index ec8c63114..6049365c3 100644
--- a/examples/qt3d/simple-qml/CMakeLists.txt
+++ b/examples/qt3d/simple-qml/CMakeLists.txt
@@ -26,7 +26,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS 3DQuickExtras)
-add_qt_gui_executable(simple-qml
+qt_add_executable(simple-qml
main.cpp
)
target_link_libraries(simple-qml PUBLIC