QWT API (中文)
7.0.1
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
src
plot3d
qwt3d_global.h
1
#ifndef QWT3D_GLOBAL_H
2
#define QWT3D_GLOBAL_H
3
4
#include <qglobal.h>
5
#include "qwt_global.h"
6
7
//
8
// Create Qwt3d DLL if QWT3D_DLL is defined (Windows only)
9
//
10
11
#if defined(Q_OS_WIN)
12
#if defined(_MSC_VER)
/* MSVC Compiler */
13
#pragma warning(disable : 4251)
// dll interface required for stl templates
14
// pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss
15
// of data
16
#pragma warning(disable : 4786)
// truncating debug info after 255 characters
17
#pragma warning(disable : 4660)
// template-class specialization 'identifier' is already instantiated
18
#if (_MSC_VER >= 1400)
/* VS8 - not sure about VC7 */
19
#pragma warning(disable : 4996)
/* MS security enhancements */
20
#endif
21
#endif
22
23
#if defined(QWT3D_NODLL)
24
#undef QWT3D_MAKEDLL
25
#undef QWT3D_DLL
26
#undef QWT3D_TEMPLATEDLL
27
#endif
28
29
#ifdef QWT3D_DLL
30
#if defined(QWT3D_MAKEDLL)
/* create a Qwt3d DLL library */
31
#undef QWT3D_DLL
32
#define QWT3D_EXPORT __declspec(dllexport)
33
#define QWT3D_TEMPLATEDLL
34
#endif
35
#endif
36
37
#if defined(QWT3D_DLL)
/* use a Qwt3d DLL library */
38
#define QWT3D_EXPORT __declspec(dllimport)
39
#define QWT3D_TEMPLATEDLL
40
#endif
41
42
#else
// ! Q_OS_WIN
43
#undef QWT3D_MAKEDLL
/* ignore these for other platforms */
44
#undef QWT3D_DLL
45
#undef QWT3D_TEMPLATEDLL
46
#endif
47
48
#ifndef QWT3D_EXPORT
49
#define QWT3D_EXPORT
50
#endif
51
52
#endif
制作者
1.9.8