diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2021-09-13 12:26:00 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2021-11-12 16:08:17 +0200 |
commit | 1bca74b41ac0a4fc1e5d59df4e591cb39b615c73 (patch) | |
tree | e2b6dac2b19526d87ba7763717f64d03dcf0c3a5 /coin | |
parent | 19a635e8894e80af6a252530dc9492da41c3abba (diff) |
Add QML Script Compiler
The QML Script Compiler is a commercial drop-in replacement
for the cachegen tool to compile your QML script expressions
and functions to C++ ahead of time.
It is available only for commercial customers and source code
fetch needs proper ssh keys available for accessing the repository
at codereview.qt-project.org.
Usage of QML Script Compiler is not enabled by default, but if
enabled globally using ENABLE_QMLCOMPILER variable, all Qt modules
that have dependency to qtdeclarative are compiled using Qt QML Compiler.
Its usage can also be enabled or disabled by each individual recipe.
Task-number: QTBUG-95475
Change-Id: Iee8539ee8ddc17c70e9ed81ab3b4f242f9386586
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit d0e7002304006fde9086974e15793837ae90a5c0)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/test-configs.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/coin/test-configs.inc b/coin/test-configs.inc index e1dcdbb..3725ce3 100644 --- a/coin/test-configs.inc +++ b/coin/test-configs.inc @@ -12,6 +12,12 @@ DISTRO_FEATURES:append = " wayland" INHERIT += "buildstats buildstats-summary" INHERIT += "rm_work" +# default to commercial Qt +QT_EDITION = "commercial" + +# enable Qt QML Compiler +ENABLE_QMLCOMPILER = "1" + # fast compression of SDK tar package SDK_XZ_COMPRESSION_LEVEL = "-1" @@ -48,6 +54,7 @@ PACKAGECONFIG:append:pn-qtbase = "\ PACKAGECONFIG:append:pn-qtimageformats = " jasper" # enable examples for all Qt modules +PACKAGECONFIG:append:pn-qmlcompilerplus = " examples" PACKAGECONFIG:append:pn-qt3d = " examples" PACKAGECONFIG:append:pn-qt5compat = " examples" PACKAGECONFIG:append:pn-qtbase = " examples" |