From d7a42f580ca776afec95cfa30f7bd67eaaba19a6 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 7 Apr 2020 17:07:20 +0200 Subject: Update graph example CMake Also update OTHER_FILES in the .pro although that's not strictly required for building. Change-Id: Ib48e64b298c1a7b1600ecd1f13580398679b72a2 Reviewed-by: Laszlo Agocs --- examples/quick/scenegraph/graph/CMakeLists.txt | 8 ++++---- examples/quick/scenegraph/graph/graph.pro | 6 +----- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3