summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-08-24 15:59:46 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2021-09-10 11:03:53 +0000
commit0caf69cc528bd2951b2b231a8d418d0a94b6b839 (patch)
treef08b04b56694dea0ab7cd14e37050ecdcdcc2863
parent9eb7d5246a6ea70240fd0bdd9b2ecbdde4bb05a8 (diff)
downloadqt-creator-0caf69cc528bd2951b2b231a8d418d0a94b6b839.tar.gz
Migrate to fixed add_shaders prefix handling
One way to get rid of the "qml" in there is to use BASE. An alternative would be to update the file paths in the source code. Here we chose the former. Change-Id: If49cb584aea022d5d74b2348ec99ed831b715111 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
-rw-r--r--src/libs/tracing/CMakeLists.txt2
-rw-r--r--src/plugins/qmlprofiler/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/tracing/CMakeLists.txt b/src/libs/tracing/CMakeLists.txt
index ce75e5f116..9378c0e4e0 100644
--- a/src/libs/tracing/CMakeLists.txt
+++ b/src/libs/tracing/CMakeLists.txt
@@ -102,6 +102,8 @@ else() # < Qt 6.2
BATCHABLE
PREFIX
"/QtCreator/Tracing"
+ BASE
+ "qml"
FILES
qml/notes_qt6.vert
qml/notes_qt6.frag
diff --git a/src/plugins/qmlprofiler/CMakeLists.txt b/src/plugins/qmlprofiler/CMakeLists.txt
index 847d92e695..f1b5979670 100644
--- a/src/plugins/qmlprofiler/CMakeLists.txt
+++ b/src/plugins/qmlprofiler/CMakeLists.txt
@@ -106,6 +106,8 @@ else() # < Qt 6.2
BATCHABLE
PREFIX
"/QtCreator/QmlProfiler"
+ BASE
+ "qml"
FILES
qml/bindingloops_qt6.frag
qml/bindingloops_qt6.vert