Print Qt version when started in verbose mode

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-08-01 02:59:40 -07:00
parent ada477eda4
commit 15962add7a

View file

@ -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();