Unfortunately there is no version information (Major: 10, Minor: 2, Patch 6 -> 10.2.6) available neither during compile time nor during runtime.
Example:
(taken vom qglobal - Qt5.4)
#define QT_VERSION_STR "5.4.1"
// QT_VERSION is (major << 16) + (minor << 😎 + patch.
#define QT_VERSION 0x050401
// can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0))
#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
How shall i make code compatible to 10.2.3, 10.2.5 and 10.2.6 keeping the api modification in mind.....
Thanks
Solved! Go to Solution.
Hey Norbert-
This isn't available OOTB. You could try to add an additional entry to the DEFINES list in the pro file. Then if you are building against 10.2.3, use the 10.2.3 headers and define ARCGIS_VERSION_10_2_3 or something like that, and so on for each different version.
-Luke
Hey Norbert-
This isn't available OOTB. You could try to add an additional entry to the DEFINES list in the pro file. Then if you are building against 10.2.3, use the 10.2.3 headers and define ARCGIS_VERSION_10_2_3 or something like that, and so on for each different version.
-Luke