aboutsummaryrefslogtreecommitdiffstats
path: root/examples/compiled-qml/qml.qrc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2016-12-22 13:41:45 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-08-03 09:53:01 +0000
commit4149ea709b8375e335b868bb0492de3710e14802 (patch)
treeb43152273d905403056a4c4569e09c15f0efc29e /examples/compiled-qml/qml.qrc
parent3b95913c674edcdf94eea673aa81d4f670231555 (diff)
Add support for the Qt Quick compiler
Detect the availability of the Qt Quick compiler in qbs-setup-qt. Add a property bool Qt.quick.compilerAvailable that is true if the Qt Quick compiler is available in this Qt build. If the compiler is available, create an extended Qt.quick module with Qt Quick compiler rules. Create a standard module otherwise. The rules pick up Qt resource files tagged with Qt.quick.qrc and compile the referenced QML files. The remaining files are put into a new QRC file that is then passed to rcc. A prioritized file tagger is provided that automatically tags *.qrc files as "qt.quick.qrc" if the Qt quick compiler is available. [ChangeLog] Added support for the Qt Quick compiler. Task-number: QBS-749 Change-Id: I44e490e09796afeb5455ec50abc1e798f7eaf01a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/compiled-qml/qml.qrc')
-rw-r--r--examples/compiled-qml/qml.qrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/compiled-qml/qml.qrc b/examples/compiled-qml/qml.qrc
new file mode 100644
index 000000000..deb314e51
--- /dev/null
+++ b/examples/compiled-qml/qml.qrc
@@ -0,0 +1,7 @@
+<RCC>
+ <qresource prefix="/">
+ <file>main.qml</file>
+ <file>MainForm.ui.qml</file>
+ <file>cheese.jpg</file>
+ </qresource>
+</RCC>