diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2021-06-03 13:03:37 +0200 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2021-06-03 14:58:12 +0200 |
commit | 7c3e059a8d55b1578ff2530a1ee4d1542414deba (patch) | |
tree | fcb7fed5ab124d032c843a1a97752c9cd686fa2f | |
parent | 4017505cbcd553f25779a5f449c13863b2c0622c (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>
-rw-r--r-- | tools/qmllint/main.cpp | 2 |
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")); |