Skip to content
Permalink
Browse files
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
  • Loading branch information
g_j_m committed Sep 1, 2006
1 parent 67df56e commit 1396e14
Showing 1 changed file with 4 additions and 0 deletions.
@@ -59,6 +59,7 @@
#include <QToolTip>
#include <QVBoxLayout>
#include <QWhatsThis>
#include <QtGlobal>
//
// QGIS Specific Includes
//
@@ -1210,6 +1211,9 @@ versionString += tr(" with PostgreSQL support");

versionString += tr(" (no PostgreSQL support)");
#endif
versionString += tr("\nCompiled against Qt ") + QT_VERSION_STR
+ tr(", running against Qt ") + qVersion();

#ifdef WIN32
// special version stuff for windows (if required)
// versionString += "\nThis is a Windows preview release - not for production use";

0 comments on commit 1396e14

Please sign in to comment.