mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: add versions of key libraries to the log
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
aae0b32d67
commit
789e86480d
1 changed files with 5 additions and 1 deletions
|
@ -132,7 +132,11 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
appendTextToLog("Starting " + getUserAgent());
|
appendTextToLog("Starting " + getUserAgent());
|
||||||
appendTextToLog(QStringLiteral("build with Qt Version %1, runtime from Qt Version %2").arg(QT_VERSION_STR).arg(qVersion()));
|
appendTextToLog(QStringLiteral("built with libdivecomputer v%1").arg(dc_version(NULL)));
|
||||||
|
appendTextToLog(QStringLiteral("built with Qt Version %1, runtime from Qt Version %2").arg(QT_VERSION_STR).arg(qVersion()));
|
||||||
|
int git_maj, git_min, git_rev;
|
||||||
|
git_libgit2_version(&git_maj, &git_min, &git_rev);
|
||||||
|
appendTextToLog(QStringLiteral("built with libgit2 %1.%2.%3").arg(git_maj).arg(git_min).arg(git_rev));
|
||||||
setStartPageText(tr("Starting..."));
|
setStartPageText(tr("Starting..."));
|
||||||
|
|
||||||
#if defined(BT_SUPPORT)
|
#if defined(BT_SUPPORT)
|
||||||
|
|
Loading…
Reference in a new issue