diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-02-06 16:16:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-12 17:24:33 +0100 |
commit | 5ae5bebb93ec38e17c0dcb9bec47e0ebfbce4937 (patch) | |
tree | 2d4eb30148be80f8e75513e8ededffcce15cfd70 /tests/manual | |
parent | 5adba7cba739a4befca86dca026753ea69605c31 (diff) |
Added function returning build information to QLibraryInfo.
Useful for bug reports and test logs.
[ChangeLog][QtCore] QLibraryInfo provides information on how
Qt was built.
Change-Id: I867197fd7d2e10bcdf01a8eb47c9c1e03647e2c1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/qpainfo/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/manual/qpainfo/main.cpp b/tests/manual/qpainfo/main.cpp index 257b340467..c51ca6323b 100644 --- a/tests/manual/qpainfo/main.cpp +++ b/tests/manual/qpainfo/main.cpp @@ -116,10 +116,8 @@ int main(int argc, char **argv) QGuiApplication app(argc, argv); const QPlatformIntegration *platformIntegration = QGuiApplicationPrivate::platformIntegration(); - std::cout << "Qt " << QT_VERSION_STR << " on \"" << QGuiApplication::platformName().toStdString() << "\" " - << QSysInfo::WordSize << " bit/" + std::cout << QLibraryInfo::build() << " on \"" << QGuiApplication::platformName().toStdString() << "\" " << (QSysInfo::ByteOrder == QSysInfo::LittleEndian ? "little endian" : "big endian") << '/' - << (QLibraryInfo::isDebugBuild() ? "debug" : "release") << '\n'; #if defined(Q_OS_WIN) |