summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-27 10:11:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-27 10:11:52 -0800
commit789e86480d9dd2b245845ac1327ee0cc71708942 (patch)
tree7457eef1f2f643990d655cdcfa0e4aba2fa8cedf
parentaae0b32d6710f890e82b662f4764ed59ad833265 (diff)
downloadsubsurface-789e86480d9dd2b245845ac1327ee0cc71708942.tar.gz
QML UI: add versions of key libraries to the log
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index a3f1b5730..650ebd480 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -132,7 +132,11 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
}
#endif
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..."));
#if defined(BT_SUPPORT)