Project Explorer: Replace "Qt Quick Compiler" with "qmlcachegen"

The latter is now used to compile Qt Quick projects. Also update
the docs accordingly.

Task-number: QTBUG-93766
Change-Id: I22a928bc1acfd3c58ed068fc2d07c36fb57b0a09
Reviewed-by: Vladimir Minenko <vladimir.minenko@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Leena Miettinen
2021-05-17 17:20:17 +02:00
parent 85d685ccea
commit 1362f96c87
2 changed files with 6 additions and 9 deletions

View File

@@ -82,19 +82,16 @@
\section1 Compiling QML
Since Qt 5.11, you can compile QML source code into the final binary. This
improves the startup time of the application and eliminates the need to
deploy QML files together with the application. For more information, see
You can compile QML source code into the final binary to improve the
startup time of the application and eliminate the need to deploy QML
files together with the application. For more information, see
\l{Ahead-of-Time Compilation}.
\QC project wizard templates create Qt Quick projects that can be compiled,
\QC project wizard templates create Qt Quick projects that can be compiled
because they are set up to use the Qt Resource System. To compile QML code,
select \uicontrol Enable in the \uicontrol {Qt Quick Compiler} field. To
select \uicontrol Enable in the \uicontrol {Use qmlcachegen} field. To
use default settings, select \uicontrol {Leave at Default}.
\note In earlier Qt versions, this was a commercial feature. For more
information, see \l{http://doc.qt.io/QtQuickCompiler/}{Qt Quick Compiler}.
\section1 qmake Build Steps
\QC builds qmake projects by running the \c make or \c nmake command from

View File

@@ -70,7 +70,7 @@ BuildPropertiesSettings::BuildPropertiesSettings()
registerAspect(&qtQuickCompiler);
qtQuickCompiler.setSettingsKey("ProjectExplorer/Settings/QtQuickCompiler");
qtQuickCompiler.setLabelText(tr("Use Qt Quick Compiler:"));
qtQuickCompiler.setLabelText(tr("Use qmlcachegen:"));
QObject::connect(&showQtSettings, &BoolAspect::valueChanged,
&qmlDebugging, &BaseAspect::setVisible);