diff options
Diffstat (limited to 'examples/quick/scenegraph/custommaterial')
-rw-r--r-- | examples/quick/scenegraph/custommaterial/.prev_CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/quick/scenegraph/custommaterial/CMakeLists.txt | 2 |
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 ) |