Commit 7f427f73 authored by Jüri Valdmann's avatar Jüri Valdmann
Browse files

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: default avatarSimon Hausmann <simon.hausmann@qt.io>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
Showing with 10 additions and 0 deletions
...@@ -105,6 +105,16 @@ One added benefit of this way of developing and deploying the application is ...@@ -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 that you will be notified of syntax errors in your QML documents at application
compile time, instead of run-time when loading the file. 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 \section2 Limitations
Currently this feature will tie your application to the Qt version you are Currently this feature will tie your application to the Qt version you are
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment