aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlmin
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-10-23 09:33:04 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2019-10-25 08:19:34 +0000
commit7ecc96305f5ec0ed093e2e1b182cb85b71609bcd (patch)
treeca16f445b0bf7b58a226e09645597a4c04f0d6b9 /tools/qmlmin
parente99469da2d99e1877276f7b37e5e8d699d8b14ee (diff)
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>
Diffstat (limited to 'tools/qmlmin')
-rw-r--r--tools/qmlmin/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmlmin/main.cpp b/tools/qmlmin/main.cpp
index 26833d2a08..3c9b3c7251 100644
--- a/tools/qmlmin/main.cpp
+++ b/tools/qmlmin/main.cpp
@@ -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;