diff options
author | Maximilian Goldstein <[email protected]> | 2021-06-22 10:19:46 +0200 |
---|---|---|
committer | Maximilian Goldstein <[email protected]> | 2021-06-22 11:06:36 +0200 |
commit | 81ad9f39aff34a6c7b12a7611f62b55dec571558 (patch) | |
tree | fbb8d029599da8386c7c0112c5ad49175080c24b /tools/qmlformat | |
parent | 2c730b211b94be90f15e706777336bdae6d1dc59 (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.
Pick-to: 6.2
Change-Id: Id797191e6b343b97831409e8d5f888761f91b1d5
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'tools/qmlformat')
-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) { |