diff --git a/cmake_templates/qgsconfig.h.in b/cmake_templates/qgsconfig.h.in index 55f2279a6b5..a4b17f93b54 100644 --- a/cmake_templates/qgsconfig.h.in +++ b/cmake_templates/qgsconfig.h.in @@ -17,6 +17,7 @@ //reinstate this more generic approach below at some point though //#define VERSION_INT ${CPACK_PACKAGE_VERSION_MAJOR}${CPACK_PACKAGE_VERSION_MINOR}${CPACK_PACKAGE_VERSION_PATCH} #define VERSION_INT ${QGIS_VERSION_INT} +#define ABISYM(x) x ## ${QGIS_VERSION_INT} //used in main.cpp and anywhere else where the release name is needed #define RELEASE_NAME "${RELEASE_NAME}" diff --git a/src/core/qgsapplication.h b/src/core/qgsapplication.h index 1122630e890..086900b4759 100644 --- a/src/core/qgsapplication.h +++ b/src/core/qgsapplication.h @@ -20,8 +20,7 @@ #include #include - -#define ABISYM(x) x ## VERSION_INT +#include /** \ingroup core * Extends QApplication to provide access to QGIS specific resources such