Deprecate qmlmin

[ChangeLog] The qmlmin tool is deprecated and not needed anymore. The
built-in caching of qml files addresses the needs and unfortunately the
tool does not work with more advanced concepts such as required
properties or the ES 7 yield statement. It will be removed in Qt 6.

Change-Id: I2830f91d1dc2ad5e3c66270dad8e25793587ae7f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Simon Hausmann 2019-10-23 09:33:04 +02:00 committed by Fabian Kosmale
parent e99469da2d
commit 7ecc96305f
1 changed files with 2 additions and 0 deletions

View File

@ -638,6 +638,8 @@ int runQmlmin(int argc, char *argv[])
return 0;
}
std::cerr << "qmlmin: This tool is deprecated and will be removed in Qt 6. It is not needed anymore due to QtQml's built-in caching." << std::endl;
QFile file(fileName);
if (! file.open(QFile::ReadOnly)) {
std::cerr << "qmlmin: '" << qPrintable(fileName) << "' no such file or directory" << std::endl;