@@ -21,8 +21,17 | |||||
21 | #ifndef QCHARTGLOBAL_H |
|
21 | #ifndef QCHARTGLOBAL_H | |
22 | #define QCHARTGLOBAL_H |
|
22 | #define QCHARTGLOBAL_H | |
23 |
|
23 | |||
24 | #define QTCOMMERCIALCHART_VERSION_STR "1.0" |
|
24 | #include <qglobal.h> | |
25 | #define QTCOMMERCIALCHART_VERSION 0x01 |
|
25 | ||
|
26 | #define QTCOMMERCIALCHART_VERSION_STR "1.2.0" | |||
|
27 | /* | |||
|
28 | QTCOMMERCIALCHART_VERSION is (major << 16) + (minor << 8) + patch. | |||
|
29 | */ | |||
|
30 | #define QTCOMMERCIALCHART_VERSION 0x010200 | |||
|
31 | /* | |||
|
32 | can be used like #if (QTCOMMERCIALCHART_VERSION >= QTCOMMERCIALCHART_VERSION_CHECK(1, 1, 0)) | |||
|
33 | */ | |||
|
34 | #define QTCOMMERCIALCHART_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) | |||
26 |
|
35 | |||
27 | #if defined(QTCOMMERCIALCHART_LIBRARY) |
|
36 | #if defined(QTCOMMERCIALCHART_LIBRARY) | |
28 | # define QTCOMMERCIALCHART_EXPORT Q_DECL_EXPORT |
|
37 | # define QTCOMMERCIALCHART_EXPORT Q_DECL_EXPORT |
General Comments 0
You need to be logged in to leave comments.
Login now