Skip to content

Commit 1396e14

Browse files
author
g_j_m
committedSep 1, 2006
Add the Qt version that qgis is compiled and running against into the
Help:About dialog box. There seems to a number of bugs reported nowadays that relate to the version of Qt that qgis is using, so an easy way for the user to find out the Qt version will be handy. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5746 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/gui/qgisapp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
#include <QToolTip>
6060
#include <QVBoxLayout>
6161
#include <QWhatsThis>
62+
#include <QtGlobal>
6263
//
6364
// QGIS Specific Includes
6465
//
@@ -1210,6 +1211,9 @@ versionString += tr(" with PostgreSQL support");
12101211

12111212
versionString += tr(" (no PostgreSQL support)");
12121213
#endif
1214+
versionString += tr("\nCompiled against Qt ") + QT_VERSION_STR
1215+
+ tr(", running against Qt ") + qVersion();
1216+
12131217
#ifdef WIN32
12141218
// special version stuff for windows (if required)
12151219
// versionString += "\nThis is a Windows preview release - not for production use";

0 commit comments

Comments
 (0)
Please sign in to comment.