mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Print Qt version when started in verbose mode
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ada477eda4
commit
15962add7a
1 changed files with 3 additions and 1 deletions
|
@ -107,8 +107,10 @@ int main(int argc, char **argv)
|
||||||
// in case something has gone wrong make sure we show the error message
|
// in case something has gone wrong make sure we show the error message
|
||||||
m->showError();
|
m->showError();
|
||||||
|
|
||||||
if (verbose > 0)
|
if (verbose > 0) {
|
||||||
print_files();
|
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)
|
if (!quit)
|
||||||
run_ui();
|
run_ui();
|
||||||
exit_ui();
|
exit_ui();
|
||||||
|
|
Loading…
Reference in a new issue