aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/quick/scenegraph/graph/CMakeLists.txt8
-rw-r--r--examples/quick/scenegraph/graph/graph.pro6
2 files changed, 5 insertions, 9 deletions
diff --git a/examples/quick/scenegraph/graph/CMakeLists.txt b/examples/quick/scenegraph/graph/CMakeLists.txt
index f768a7fb3d..82cbe495bb 100644
--- a/examples/quick/scenegraph/graph/CMakeLists.txt
+++ b/examples/quick/scenegraph/graph/CMakeLists.txt
@@ -32,10 +32,10 @@ target_link_libraries(graph PUBLIC
# Resources:
set(graph_resource_files
"main.qml"
- "shaders/line.fsh"
- "shaders/line.vsh"
- "shaders/noisy.fsh"
- "shaders/noisy.vsh"
+ "shaders/line.frag.qsb"
+ "shaders/line.vert.qsb"
+ "shaders/noisy.frag.qsb"
+ "shaders/noisy.vert.qsb"
)
qt6_add_resources(graph "graph"
diff --git a/examples/quick/scenegraph/graph/graph.pro b/examples/quick/scenegraph/graph/graph.pro
index fe36585d77..56aebdc6ea 100644
--- a/examples/quick/scenegraph/graph/graph.pro
+++ b/examples/quick/scenegraph/graph/graph.pro
@@ -24,11 +24,7 @@ RESOURCES += \
graph.qrc
OTHER_FILES += \
- main.qml \
- shaders/noisy.vsh \
- shaders/noisy.fsh \
- shaders/line.fsh \
- shaders/line.vsh
+ main.qml
target.path = $$[QT_INSTALL_EXAMPLES]/quick/scenegraph/graph
INSTALLS += target