diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-08-01 02:59:40 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-01 02:59:40 -0700 |
commit | 15962add7ad6fc42073b864135ac7783b46296f1 (patch) | |
tree | 30216429d83f02820f07fe53076e7546aa563aeb /subsurface-desktop-main.cpp | |
parent | ada477eda4121b857b0ced8de5890fbf90510b65 (diff) | |
download | subsurface-15962add7ad6fc42073b864135ac7783b46296f1.tar.gz |
Print Qt version when started in verbose mode
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r-- | subsurface-desktop-main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp index 42cb54834..193f8f8a5 100644 --- a/subsurface-desktop-main.cpp +++ b/subsurface-desktop-main.cpp @@ -107,8 +107,10 @@ int main(int argc, char **argv) // in case something has gone wrong make sure we show the error message m->showError(); - if (verbose > 0) + if (verbose > 0) { print_files(); + printf("%s\n", QStringLiteral("build with Qt Version %1, runtime from Qt Version %2").arg(QT_VERSION_STR).arg(qVersion()).toUtf8().data()); + } if (!quit) run_ui(); exit_ui(); |