File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 211211//
212212#ifdef HAVE_POSTGRESQL
213213#include " postgres/qgspgsourceselect.h"
214+ #ifdef HAVE_PGCONFIG
215+ #include < pg_config.h>
216+ #else
217+ #define PG_VERSION " unknown"
218+ #endif
214219#endif
215220#ifdef HAVE_SPATIALITE
216221extern " C"
@@ -2353,13 +2358,13 @@ void QgisApp::about()
23532358 .arg ( QGis::QGIS_VERSION )
23542359 .arg ( QGis::QGIS_SVN_VERSION );
23552360#ifdef HAVE_POSTGRESQL
2356- versionString += tr ( " \n This copy of QGIS has been built with PostgreSQL support. " );
2361+ versionString += tr ( " \n This copy of QGIS has been built with PostgreSQL support (%1). " ). arg ( PG_VERSION );
23572362#else
23582363 versionString += tr ( " \n This copy of QGIS has been built without PostgreSQL support." );
23592364#endif
23602365
23612366#ifdef HAVE_SPATIALITE
2362- versionString += tr ( " \n This copy of QGIS has been built with SpatiaLite support. " );
2367+ versionString += tr ( " \n This copy of QGIS has been built with SpatiaLite support (%1). " ). arg ( spatialite_version () );
23632368#else
23642369 versionString += tr ( " \n This copy of QGIS has been built without SpatiaLite support." );
23652370#endif
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ INCLUDE_DIRECTORIES(../../core)
1717
1818IF (WITH_INTERNAL_SPATIALITE)
1919 INCLUDE_DIRECTORIES (
20- ../core/spatialite/headers
21- ../core/spatialite/headers/spatialite
20+ ../../ core/spatialite/headers
21+ ../../ core/spatialite/headers/spatialite
2222 )
2323ELSE (WITH_INTERNAL_SPATIALITE)
2424 INCLUDE_DIRECTORIES (${SPATIALITE_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments