summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-02-06 16:16:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-12 17:24:33 +0100
commit5ae5bebb93ec38e17c0dcb9bec47e0ebfbce4937 (patch)
tree2d4eb30148be80f8e75513e8ededffcce15cfd70 /src/corelib/global/qlibraryinfo.h
parent5adba7cba739a4befca86dca026753ea69605c31 (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 'src/corelib/global/qlibraryinfo.h')
-rw-r--r--src/corelib/global/qlibraryinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
index 54ef794d3e..2a8a3b84b9 100644
--- a/src/corelib/global/qlibraryinfo.h
+++ b/src/corelib/global/qlibraryinfo.h
@@ -59,6 +59,8 @@ public:
static QDate buildDate();
#endif //QT_NO_DATESTRING
+ static const char * build();
+
static bool isDebugBuild();
enum LibraryLocation