forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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
|
||||
|
||||
6
src/plugins/studiowelcome/studiowelcome_qml.qrc
Normal file
6
src/plugins/studiowelcome/studiowelcome_qml.qrc
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- This file is the CMake equivalent of "RESOURCES = $$files(qml/*)" in studiowelcome.pro -->
|
||||
<RCC>
|
||||
<qresource>
|
||||
<file>qml/</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Reference in New Issue
Block a user