Skip to content
Permalink
Browse files

show PostgreSQL and SpatiaLite version in about

git-svn-id: http://svn.osgeo.org/qgis/trunk@13271 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Apr 6, 2010
1 parent f5137f5 commit 5a2d1cfb45a4a5c76cba60467ee71417e2823c19
Showing with 9 additions and 4 deletions.
  1. +7 −2 src/app/qgisapp.cpp
  2. +2 −2 src/providers/spatialite/CMakeLists.txt
@@ -211,6 +211,11 @@
//
#ifdef HAVE_POSTGRESQL
#include "postgres/qgspgsourceselect.h"
#ifdef HAVE_PGCONFIG
#include <pg_config.h>
#else
#define PG_VERSION "unknown"
#endif
#endif
#ifdef HAVE_SPATIALITE
extern "C"
@@ -2353,13 +2358,13 @@ void QgisApp::about()
.arg( QGis::QGIS_VERSION )
.arg( QGis::QGIS_SVN_VERSION );
#ifdef HAVE_POSTGRESQL
versionString += tr( "\nThis copy of QGIS has been built with PostgreSQL support." );
versionString += tr( "\nThis copy of QGIS has been built with PostgreSQL support (%1)." ).arg( PG_VERSION );
#else
versionString += tr( "\nThis copy of QGIS has been built without PostgreSQL support." );
#endif

#ifdef HAVE_SPATIALITE
versionString += tr( "\nThis copy of QGIS has been built with SpatiaLite support." );
versionString += tr( "\nThis copy of QGIS has been built with SpatiaLite support (%1)." ).arg( spatialite_version() );
#else
versionString += tr( "\nThis copy of QGIS has been built without SpatiaLite support." );
#endif
@@ -17,8 +17,8 @@ INCLUDE_DIRECTORIES(../../core)

IF(WITH_INTERNAL_SPATIALITE)
INCLUDE_DIRECTORIES(
../core/spatialite/headers
../core/spatialite/headers/spatialite
../../core/spatialite/headers
../../core/spatialite/headers/spatialite
)
ELSE(WITH_INTERNAL_SPATIALITE)
INCLUDE_DIRECTORIES(${SPATIALITE_INCLUDE_DIR})

0 comments on commit 5a2d1cf

Please sign in to comment.
You can’t perform that action at this time.