diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-16 16:20:49 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-20 09:32:34 +0200 |
commit | 903252b240834ac2a6d080c0f3a69c53d5ec0c0b (patch) | |
tree | 70ff18fec75984a52cb1bf8dcd7468c94294b0c4 /examples/quick/scenegraph | |
parent | b4a0e5ac8d6bd2531267c51bb84c9ea53ad87302 (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')
14 files changed, 14 insertions, 14 deletions
diff --git a/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt b/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt index 6e4395503c..b4f77372de 100644 --- a/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt +++ b/examples/quick/scenegraph/customgeometry/.prev_CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Quick) -add_qt_gui_executable(customgeometry +qt_add_executable(customgeometry beziercurve.cpp beziercurve.h main.cpp ) diff --git a/examples/quick/scenegraph/customgeometry/CMakeLists.txt b/examples/quick/scenegraph/customgeometry/CMakeLists.txt index 0f62794a9f..c9a49a4752 100644 --- a/examples/quick/scenegraph/customgeometry/CMakeLists.txt +++ b/examples/quick/scenegraph/customgeometry/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Quick) -add_qt_gui_executable(customgeometry_declarative # special case +qt_add_executable(customgeometry_declarative # special case beziercurve.cpp beziercurve.h main.cpp ) 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 ) diff --git a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt index 24a82e20a1..8eca755be8 100644 --- a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt +++ b/examples/quick/scenegraph/d3d11underqml/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(d3d11underqml +qt_add_executable(d3d11underqml d3d11squircle.cpp d3d11squircle.h main.cpp ) diff --git a/examples/quick/scenegraph/fboitem/CMakeLists.txt b/examples/quick/scenegraph/fboitem/CMakeLists.txt index 2f0fd4b631..46f729a0cd 100644 --- a/examples/quick/scenegraph/fboitem/CMakeLists.txt +++ b/examples/quick/scenegraph/fboitem/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(fboitem +qt_add_executable(fboitem ../shared/logorenderer.cpp ../shared/logorenderer.h fboinsgrenderer.cpp fboinsgrenderer.h main.cpp diff --git a/examples/quick/scenegraph/graph/CMakeLists.txt b/examples/quick/scenegraph/graph/CMakeLists.txt index 1d6bb47b46..312cc68713 100644 --- a/examples/quick/scenegraph/graph/CMakeLists.txt +++ b/examples/quick/scenegraph/graph/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Quick) -add_qt_gui_executable(graph +qt_add_executable(graph graph.cpp graph.h gridnode.cpp gridnode.h linenode.cpp linenode.h diff --git a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt b/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt index aff92b4ea6..9427df536c 100644 --- a/examples/quick/scenegraph/metaltextureimport/CMakeLists.txt +++ b/examples/quick/scenegraph/metaltextureimport/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(metaltextureimport +qt_add_executable(metaltextureimport main.cpp metaltextureimport.h metaltextureimport.mm ) diff --git a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt index 73f8703e8d..c4b1869d1c 100644 --- a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt +++ b/examples/quick/scenegraph/metalunderqml/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(metalunderqml +qt_add_executable(metalunderqml main.cpp metalsquircle.h metalsquircle.mm ) diff --git a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt index 2145c6275b..e9c668083a 100644 --- a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt +++ b/examples/quick/scenegraph/openglunderqml/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(openglunderqml +qt_add_executable(openglunderqml main.cpp squircle.cpp squircle.h ) diff --git a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt index 8fdd7ec4cc..4fbe2d7518 100644 --- a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt +++ b/examples/quick/scenegraph/threadedanimation/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(threadedanimation +qt_add_executable(threadedanimation main.cpp spinner.cpp spinner.h ) diff --git a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt index b8f9d3d79b..b8ec2724e8 100644 --- a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt +++ b/examples/quick/scenegraph/twotextureproviders/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(twotextureproviders +qt_add_executable(twotextureproviders main.cpp xorblender.cpp xorblender.h ) diff --git a/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt b/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt index 896f8d9ebc..a0ee87fdd5 100644 --- a/examples/quick/scenegraph/vulkantextureimport/CMakeLists.txt +++ b/examples/quick/scenegraph/vulkantextureimport/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(vulkantextureimport +qt_add_executable(vulkantextureimport main.cpp vulkantextureimport.cpp vulkantextureimport.h ) diff --git a/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt b/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt index 7ba17d6644..27d1e2baac 100644 --- a/examples/quick/scenegraph/vulkanunderqml/CMakeLists.txt +++ b/examples/quick/scenegraph/vulkanunderqml/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(vulkanunderqml +qt_add_executable(vulkanunderqml main.cpp vulkansquircle.cpp vulkansquircle.h ) |