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@5746 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 1, 2006
1 parent 8753277 commit f028b5486c12cc79868ed93358ebb35b89b8b53e
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/qgisapp.cpp
@@ -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 f028b54

Please sign in to comment.