File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 211
211
//
212
212
#ifdef HAVE_POSTGRESQL
213
213
#include " postgres/qgspgsourceselect.h"
214
+ #ifdef HAVE_PGCONFIG
215
+ #include < pg_config.h>
216
+ #else
217
+ #define PG_VERSION " unknown"
218
+ #endif
214
219
#endif
215
220
#ifdef HAVE_SPATIALITE
216
221
extern " C"
@@ -2353,13 +2358,13 @@ void QgisApp::about()
2353
2358
.arg ( QGis::QGIS_VERSION )
2354
2359
.arg ( QGis::QGIS_SVN_VERSION );
2355
2360
#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 );
2357
2362
#else
2358
2363
versionString += tr ( " \n This copy of QGIS has been built without PostgreSQL support." );
2359
2364
#endif
2360
2365
2361
2366
#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 () );
2363
2368
#else
2364
2369
versionString += tr ( " \n This copy of QGIS has been built without SpatiaLite support." );
2365
2370
#endif
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ INCLUDE_DIRECTORIES(../../core)
17
17
18
18
IF (WITH_INTERNAL_SPATIALITE)
19
19
INCLUDE_DIRECTORIES (
20
- ../core/spatialite/headers
21
- ../core/spatialite/headers/spatialite
20
+ ../../ core/spatialite/headers
21
+ ../../ core/spatialite/headers/spatialite
22
22
)
23
23
ELSE (WITH_INTERNAL_SPATIALITE)
24
24
INCLUDE_DIRECTORIES (${SPATIALITE_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments