Skip to content

Commit

Permalink
Add the Qt version that qgis is compiled and running against into the
Browse files Browse the repository at this point in the history
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 f028b54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/qgisapp.cpp
Expand Up @@ -59,6 +59,7 @@
#include <QToolTip>
#include <QVBoxLayout>
#include <QWhatsThis>
#include <QtGlobal>
//
// QGIS Specific Includes
//
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit f028b54

Please sign in to comment.