Last change
on this file since 93 was 89, checked in by morasjul, 12 years ago |
PACPUS 2.0 Beta deployed in new branch
Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support
|
-
Property svn:executable
set to
*
|
File size:
1.6 KB
|
Line | |
---|
1 | #ifndef QWT3D_GLOBAL_H
|
---|
2 | #define QWT3D_GLOBAL_H
|
---|
3 |
|
---|
4 | #include <qglobal.h>
|
---|
5 | #if QT_VERSION < 0x040000
|
---|
6 | #include <qmodules.h>
|
---|
7 | #endif
|
---|
8 |
|
---|
9 | #define QWT3D_MAJOR_VERSION 0
|
---|
10 | #define QWT3D_MINOR_VERSION 2
|
---|
11 | #define QWT3D_PATCH_VERSION 6
|
---|
12 |
|
---|
13 | //
|
---|
14 | // Create Qwt3d DLL if QWT3D_DLL is defined (Windows only)
|
---|
15 | //
|
---|
16 |
|
---|
17 | #if defined(Q_WS_WIN)
|
---|
18 | #if defined(_MSC_VER) /* MSVC Compiler */
|
---|
19 | #pragma warning(disable: 4251) // dll interface required for stl templates
|
---|
20 | //pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
|
---|
21 | #pragma warning(disable: 4786) // truncating debug info after 255 characters
|
---|
22 | #pragma warning(disable: 4660) // template-class specialization 'identifier' is already instantiated
|
---|
23 | #if (_MSC_VER >= 1400) /* VS8 - not sure about VC7 */
|
---|
24 | #pragma warning(disable: 4996) /* MS security enhancements */
|
---|
25 | #endif
|
---|
26 | #endif
|
---|
27 |
|
---|
28 | #if defined(QWT3D_NODLL)
|
---|
29 | #undef QWT3D_MAKEDLL
|
---|
30 | #undef QWT3D_DLL
|
---|
31 | #undef QWT3D_TEMPLATEDLL
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #ifdef QWT3D_DLL
|
---|
35 | #if defined(QWT3D_MAKEDLL) /* create a Qwt3d DLL library */
|
---|
36 | #undef QWT3D_DLL
|
---|
37 | #define QWT3D_EXPORT __declspec(dllexport)
|
---|
38 | #define QWT3D_TEMPLATEDLL
|
---|
39 | #endif
|
---|
40 | #endif
|
---|
41 |
|
---|
42 | #if defined(QWT3D_DLL) /* use a Qwt3d DLL library */
|
---|
43 | #define QWT3D_EXPORT __declspec(dllimport)
|
---|
44 | #define QWT3D_TEMPLATEDLL
|
---|
45 | #endif
|
---|
46 |
|
---|
47 | #else // ! Q_WS_WIN
|
---|
48 | #undef QWT3D_MAKEDLL /* ignore these for other platforms */
|
---|
49 | #undef QWT3D_DLL
|
---|
50 | #undef QWT3D_TEMPLATEDLL
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #ifndef QWT3D_EXPORT
|
---|
54 | #define QWT3D_EXPORT
|
---|
55 | #endif
|
---|
56 |
|
---|
57 |
|
---|
58 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.