From 15962add7ad6fc42073b864135ac7783b46296f1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 1 Aug 2017 02:59:40 -0700 Subject: Print Qt version when started in verbose mode Signed-off-by: Dirk Hohndel --- subsurface-desktop-main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subsurface-desktop-main.cpp') 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(); -- cgit v1.2.3-70-g09d2