@@ -0,0 +1,28 | |||
|
1 | /**************************************************************************** | |
|
2 | ** | |
|
3 | ** Copyright (C) 2012 Digia Plc | |
|
4 | ** All rights reserved. | |
|
5 | ** For any questions to Digia, please use contact form at http://qt.digia.com | |
|
6 | ** | |
|
7 | ** This file is part of the Qt Commercial Charts Add-on. | |
|
8 | ** | |
|
9 | ** $QT_BEGIN_LICENSE$ | |
|
10 | ** Licensees holding valid Qt Commercial licenses may use this file in | |
|
11 | ** accordance with the Qt Commercial License Agreement provided with the | |
|
12 | ** Software or, alternatively, in accordance with the terms contained in | |
|
13 | ** a written agreement between you and Digia. | |
|
14 | ** | |
|
15 | ** If you have questions regarding the use of this file, please use | |
|
16 | ** contact form at http://qt.digia.com | |
|
17 | ** $QT_END_LICENSE$ | |
|
18 | ** | |
|
19 | ****************************************************************************/ | |
|
20 | ||
|
21 | #ifndef MACROINCLUDE_H_ | |
|
22 | #define MACROINCLUDE_H_ | |
|
23 | ||
|
24 | // this is needed by the designer plugin. | |
|
25 | ||
|
26 | QTCOMMERCIALCHART_USE_NAMESPACE | |
|
27 | ||
|
28 | #endif /* MACROINCLUDE_H_ */ |
@@ -42,7 +42,17 QString QChartsPlugin::name() const | |||
|
42 | 42 | |
|
43 | 43 | QString QChartsPlugin::includeFile() const |
|
44 | 44 | { |
|
45 | return "<qchartview.h>"; | |
|
45 | #ifdef linux | |
|
46 | QString myNewLine = "\n"; | |
|
47 | #endif | |
|
48 | #ifdef WIN32 | |
|
49 | QString myNewLine = "\n\r"; | |
|
50 | #endif | |
|
51 | #ifdef __APPLE__ | |
|
52 | QString myNewLine = "\n"; | |
|
53 | #endif | |
|
54 | ||
|
55 | return "<qchartview.h>" + myNewLine + "#include <chartsnamespace.h>"; | |
|
46 | 56 | } |
|
47 | 57 | |
|
48 | 58 | QString QChartsPlugin::group() const |
@@ -53,11 +53,13 PRIVATE_HEADERS += \ | |||
|
53 | 53 | $$PWD/scroller_p.h \ |
|
54 | 54 | $$PWD/qabstractseries_p.h \ |
|
55 | 55 | $$PWD/chartlayout_p.h |
|
56 | ||
|
56 | 57 | PUBLIC_HEADERS += \ |
|
57 | 58 | $$PWD/qchart.h \ |
|
58 | 59 | $$PWD/qchartglobal.h \ |
|
59 | 60 | $$PWD/qabstractseries.h \ |
|
60 | $$PWD/qchartview.h | |
|
61 | $$PWD/qchartview.h \ | |
|
62 | $$PWD/chartsnamespace.h | |
|
61 | 63 | |
|
62 | 64 | include(animations/animations.pri) |
|
63 | 65 | include(areachart/areachart.pri) |
General Comments 0
You need to be logged in to leave comments.
Login now