aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-06-03 13:03:37 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2021-06-03 14:58:12 +0200
commit7c3e059a8d55b1578ff2530a1ee4d1542414deba (patch)
treefcb7fed5ab124d032c843a1a97752c9cd686fa2f /tools
parent4017505cbcd553f25779a5f449c13863b2c0622c (diff)
qmllint: Make the tool version equal the Qt version
Use the Qt version instead of 1.0. Especially important since qmllint allows for mixing and matching the tool with other Qt versions. Change-Id: Ib485578f93d8e61f2aa76bb610c3fd87ed71cd60 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmllint/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp
index 7f4c63439f..69beb70264 100644
--- a/tools/qmllint/main.cpp
+++ b/tools/qmllint/main.cpp
@@ -207,7 +207,7 @@ int main(int argv, char *argc[])
QCoreApplication app(argv, argc);
QCoreApplication::setApplicationName("qmllint");
- QCoreApplication::setApplicationVersion("1.0");
+ QCoreApplication::setApplicationVersion(QT_VERSION_STR);
#if QT_CONFIG(commandlineparser)
QCommandLineParser parser;
QQmlToolingSettings settings(QLatin1String("qmllint"));