Skip to content

Commit 71cfacb

Browse files
committed
fix 9e21b17 (actually use the value of VERSION_INT as symbol postfix)
1 parent 9ad5cc2 commit 71cfacb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake_templates/qgsconfig.h.in

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
//reinstate this more generic approach below at some point though
1818
//#define VERSION_INT ${CPACK_PACKAGE_VERSION_MAJOR}${CPACK_PACKAGE_VERSION_MINOR}${CPACK_PACKAGE_VERSION_PATCH}
1919
#define VERSION_INT ${QGIS_VERSION_INT}
20+
#define ABISYM(x) x ## ${QGIS_VERSION_INT}
2021
//used in main.cpp and anywhere else where the release name is needed
2122
#define RELEASE_NAME "${RELEASE_NAME}"
2223

src/core/qgsapplication.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
#include <QStringList>
2121

2222
#include <qgis.h>
23-
24-
#define ABISYM(x) x ## VERSION_INT
23+
#include <qgsconfig.h>
2524

2625
/** \ingroup core
2726
* Extends QApplication to provide access to QGIS specific resources such

0 commit comments

Comments
 (0)