aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/custommaterial
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 16:20:49 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-20 09:32:34 +0200
commit903252b240834ac2a6d080c0f3a69c53d5ec0c0b (patch)
tree70ff18fec75984a52cb1bf8dcd7468c94294b0c4 /examples/quick/scenegraph/custommaterial
parentb4a0e5ac8d6bd2531267c51bb84c9ea53ad87302 (diff)
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: Ie5bba408000211b24694aa0143bdf79c4a298f42 Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/custommaterial')
-rw-r--r--examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt2
-rw-r--r--examples/quick/scenegraph/custommaterial/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt b/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt
index 4974a5e511..d409fd1086 100644
--- a/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt
+++ b/examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(custommaterial
+qt_add_executable(custommaterial
customitem.cpp customitem.h
main.cpp
)
diff --git a/examples/quick/scenegraph/custommaterial/CMakeLists.txt b/examples/quick/scenegraph/custommaterial/CMakeLists.txt
index 7f41fdaa53..e57a82b395 100644
--- a/examples/quick/scenegraph/custommaterial/CMakeLists.txt
+++ b/examples/quick/scenegraph/custommaterial/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
-add_qt_gui_executable(custommaterial_declarative # special case
+qt_add_executable(custommaterial_declarative # special case
customitem.cpp customitem.h
main.cpp
)