summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-06-05 21:49:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-06-05 21:49:53 +0000
commitfe72c890a76c1f227ef749adbdcf964bb166d74c (patch)
treea43315087ba15806340b6822e8b3215443e09621 /rbutil
parentac30b53cd332157d8a7fe385bc900e135bcfc400 (diff)
Show Qt version number in Sysinfo dialog and in startup debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21194 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/detect.cpp1
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp6
2 files changed, 7 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/detect.cpp b/rbutil/rbutilqt/base/detect.cpp
index 88ffb36723..70f2de6f41 100644
--- a/rbutil/rbutilqt/base/detect.cpp
+++ b/rbutil/rbutilqt/base/detect.cpp
@@ -174,6 +174,7 @@ QString Detect::osVersionString(void)
result = QString("CPU: %1<br/>System: %2<br/>Release: %3<br/>Version: %4")
.arg(u.machine).arg(u.sysname).arg(u.release).arg(u.version);
#endif
+ result += QString("<br/>Qt version %1").arg(qVersion());
return result;
}
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 7c52f1f7cf..959375e594 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -59,6 +59,12 @@
RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
{
+ // startup log
+ qDebug() << "======================================";
+ qDebug() << "[System] Rockbox Utility " VERSION;
+ qDebug() << "[System] Qt version:" << qVersion();
+ qDebug() << "======================================";
+
absolutePath = qApp->applicationDirPath();
HttpGet::setGlobalUserAgent("rbutil/"VERSION);