diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2021-06-22 10:19:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-22 11:14:34 +0000 |
commit | 90db5baa28ffa78422332f4e7973fe603496ba34 (patch) | |
tree | 7ce8fb4761d0a624eac29ddab3b24b5d2d5dcfb3 /tools | |
parent | 3a119ebc1a337eb293f6722bd0b8a550e84e674b (diff) |
qmlformat: Use the Qt version instead of 1.0
This makes way more sense than just sticking to 1.0 forever or introducing our own tooling versioning and is consistent with qmllint.
Change-Id: Id797191e6b343b97831409e8d5f888761f91b1d5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 81ad9f39aff34a6c7b12a7611f62b55dec571558)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmlformat/qmlformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlformat/qmlformat.cpp b/tools/qmlformat/qmlformat.cpp index 7f7cdfbb24..dab1ee42c7 100644 --- a/tools/qmlformat/qmlformat.cpp +++ b/tools/qmlformat/qmlformat.cpp @@ -246,7 +246,7 @@ int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); QCoreApplication::setApplicationName("qmlformat"); - QCoreApplication::setApplicationVersion("1.0"); + QCoreApplication::setApplicationVersion(QT_VERSION_STR); const auto options = buildCommandLineOptions(app); if (!options.valid) { |