diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2016-12-22 13:41:45 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-08-03 09:53:01 +0000 |
commit | 4149ea709b8375e335b868bb0492de3710e14802 (patch) | |
tree | b43152273d905403056a4c4569e09c15f0efc29e /doc/reference/modules/qt-modules.qdoc | |
parent | 3b95913c674edcdf94eea673aa81d4f670231555 (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 'doc/reference/modules/qt-modules.qdoc')
-rw-r--r-- | doc/reference/modules/qt-modules.qdoc | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/doc/reference/modules/qt-modules.qdoc b/doc/reference/modules/qt-modules.qdoc index 085e97ae7..9f6116683 100644 --- a/doc/reference/modules/qt-modules.qdoc +++ b/doc/reference/modules/qt-modules.qdoc @@ -143,7 +143,7 @@ \li quick \li Qt Quick (2) \li Provides the \c{Qt Quick} module (Qt Quick 2). For more information, - see \l {quick Properties}. + see \l{quick Properties} and \l{quick File Tags}. \row \li qml \li Qt QML @@ -481,6 +481,11 @@ \li Default \li Description \row + \li compilerAvailable + \li \c{bool} + \li set by \c{qbs-setup-qt} + \li Specifies whether the Qt installation contains the Qt Quick compiler. + \row \li qmlDebugging \li \c{bool} \li \c{false} @@ -716,6 +721,26 @@ \li Source files with this tag serve as inputs to the QML plugin scanner. \endtable + \section2 quick File Tags + + \table + \header + \li Tag + \li Auto-tagged File Names + \li Since + \li Description + \row + \li \c{"qt.quick.qrc"} + \li \c{*.qrc} + \li 1.10 + \li Qt resource files with this file tag will be picked up by the + Qt Quick compiler rule, and all QML files in the resource will be + compiled. + + This file tag will only be added automatically if the Qt Quick + compiler is available. + \endtable + \section2 scxml File Tags \table |