summaryrefslogtreecommitdiffstats
path: root/subsurface-desktop-main.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-01 02:59:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-01 02:59:40 -0700
commit15962add7ad6fc42073b864135ac7783b46296f1 (patch)
tree30216429d83f02820f07fe53076e7546aa563aeb /subsurface-desktop-main.cpp
parentada477eda4121b857b0ced8de5890fbf90510b65 (diff)
downloadsubsurface-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.cpp4
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();