summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2019-03-26 10:34:08 +0100
committerJüri Valdmann <juri.valdmann@qt.io>2019-04-02 08:08:06 +0000
commit7f427f737798d1454ba92277f38a2783ce1b2cd0 (patch)
treea6b46e2675b5f90d59aa990b306b0a7371e14994
parentadaefd7cb8ed0849cd0a36a95912e37b3b14d35a (diff)
Document QTQUICK_COMPILER_SKIPPED_RESOURCES
Document the qmake variable for skipping resource files. Copied from the old Qt Quick Compiler docs (https://doc.qt.io/QtQuickCompiler/). Fixes: QTBUG-74078 Change-Id: I7fc2fa5171aad7ec380a46495298b29caf86b6a2 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--doc/src/qmlapp/deployment.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/qmlapp/deployment.qdoc b/doc/src/qmlapp/deployment.qdoc
index a370aabbc..534ea2f26 100644
--- a/doc/src/qmlapp/deployment.qdoc
+++ b/doc/src/qmlapp/deployment.qdoc
@@ -105,6 +105,16 @@ One added benefit of this way of developing and deploying the application is
that you will be notified of syntax errors in your QML documents at application
compile time, instead of run-time when loading the file.
+If you have \c .qml or \c .js files which should not be compiled but just
+bundled by the resource system (for example, \c .js files used with \l{Qt
+WebEngine}), then you can omit them from the compilation by specifying the
+resources files that contain them in the \c QTQUICK_COMPILER_SKIPPED_RESOURCES
+variable in your project file, like below:
+
+\code
+QTQUICK_COMPILER_SKIPPED_RESOURCES += bundle_only.qrc
+\endcode
+
\section2 Limitations
Currently this feature will tie your application to the Qt version you are