/usr/include/qgis/qgsconfig.h is in libqgis-dev 2.8.6+dfsg-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | // QGSCONFIG.H
#ifndef QGSCONFIG_H
#define QGSCONFIG_H
// Version must be specified according to
// <int>.<int>.<int>-<any text>.
// or else upgrading old project file will not work
// reliably.
#define VERSION "2.8.6-Wien"
//used in vim src/core/qgis.cpp
//The way below should work but it resolves to a number like 0110 which the compiler treats as octal I think
//because debuggin it out shows the decimal number 72 which results in incorrect version status.
//As a short term fix I (Tim) am defining the version in top level cmake. It would be good to
//reinstate this more generic approach below at some point though
//#define VERSION_INT 286
#define VERSION_INT 20806
#define ABISYM(x) x ## 20806
//used in main.cpp and anywhere else where the release name is needed
#define RELEASE_NAME "Wien"
#define QGIS_PLUGIN_SUBDIR "lib/qgis/plugins"
#define QGIS_DATA_SUBDIR "share/qgis"
#define QGIS_LIBEXEC_SUBDIR "lib/qgis"
#define QGIS_LIB_SUBDIR "lib"
#define CMAKE_INSTALL_PREFIX "/usr"
#define CMAKE_SOURCE_DIR "/build/qgis-kTw4tW/qgis-2.8.6+dfsg"
#define QSCINTILLA_VERSION_STR "2.9.1"
#if defined( __APPLE__ )
//used by Mac to find system or bundle resources relative to amount of bundling
#define QGIS_MACAPP_BUNDLE
#endif
#define QT_PLUGINS_DIR "/usr/lib/x86_64-linux-gnu/qt4/plugins"
#define OSG_PLUGINS_PATH ""
/* #undef USING_NMAKE */
#define HAVE_POSTGRESQL
#define HAVE_SPATIALITE
#define HAVE_MSSQL
/* #undef HAVE_ORACLE */
/* #undef HAVE_PYTHON */
/* #undef HAVE_TOUCH */
#define HAVE_OSGEARTHQT
#define SERVER_SKIP_ECW
#define HAVE_SERVER_PYTHON_PLUGINS
/* #undef ENABLE_MODELTEST */
#endif
|