aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/studiowelcome
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2020-02-22 21:59:39 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2020-02-23 11:05:03 +0000
commit6e88cc33deef578c94a85f5df50c82f975d000a8 (patch)
tree43cecf04276afcb77d3153c09d37ba4c9831e2c9 /src/plugins/studiowelcome
parentd45e123b8e14cc63e1a5453a18ee976ecd5ff742 (diff)
StudioWelcome: Add the qml files to the CMake build system
Add a missing delimiter for the debug build. For the release build, we need a .qrc file which captures the whole qml/ subtree. Change-Id: I07fa916f6074870278c2aa90a8e4a599bf784a3d Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/plugins/studiowelcome')
-rw-r--r--src/plugins/studiowelcome/CMakeLists.txt3
-rw-r--r--src/plugins/studiowelcome/studiowelcome_qml.qrc6
2 files changed, 8 insertions, 1 deletions
diff --git a/src/plugins/studiowelcome/CMakeLists.txt b/src/plugins/studiowelcome/CMakeLists.txt
index 217e5f7de4..8abf6a8fba 100644
--- a/src/plugins/studiowelcome/CMakeLists.txt
+++ b/src/plugins/studiowelcome/CMakeLists.txt
@@ -1,11 +1,12 @@
add_qtc_plugin(StudioWelcome
DEPENDS Qt5::QuickWidgets
PLUGIN_DEPENDS Core ProjectExplorer QtSupport
- DEFINES STUDIO_QML_PATH="${CMAKE_CURRENT_SOURCE_DIR}/qml"
+ DEFINES STUDIO_QML_PATH="${CMAKE_CURRENT_SOURCE_DIR}/qml/"
SOURCES
studiowelcomeplugin.cpp studiowelcomeplugin.h
studiowelcome_global.h
studiowelcome.qrc
+ studiowelcome_qml.qrc
"${PROJECT_SOURCE_DIR}/src/share/3rdparty/studiofonts/studiofonts.qrc"
EXTRA_TRANSLATIONS
qml
diff --git a/src/plugins/studiowelcome/studiowelcome_qml.qrc b/src/plugins/studiowelcome/studiowelcome_qml.qrc
new file mode 100644
index 0000000000..5f469d8d9a
--- /dev/null
+++ b/src/plugins/studiowelcome/studiowelcome_qml.qrc
@@ -0,0 +1,6 @@
+<!-- This file is the CMake equivalent of "RESOURCES = $$files(qml/*)" in studiowelcome.pro -->
+<RCC>
+ <qresource>
+ <file>qml/</file>
+ </qresource>
+</RCC>