@@ -0,0 +1,9 | |||
|
1 | Qt Charts 2.1.0 | |
|
2 | ||
|
3 | New features | |
|
4 | ------------ | |
|
5 | - ? | |
|
6 | ||
|
7 | Fixed issues | |
|
8 | ------------ | |
|
9 | - ? |
@@ -1,4 +1,4 | |||
|
1 | 1 | load(qt_build_config) |
|
2 | 2 | CONFIG += qt_example_installs |
|
3 | 3 | |
|
4 |
MODULE_VERSION=2. |
|
|
4 | MODULE_VERSION=2.1.0 |
@@ -1,78 +1,78 | |||
|
1 | 1 | --------------- |
|
2 |
Qt Charts 2. |
|
|
2 | Qt Charts 2.1.0 | |
|
3 | 3 | --------------- |
|
4 | 4 | |
|
5 | 5 | Qt Charts module provides a set of easy to use chart components. It uses |
|
6 | 6 | the Qt Graphics View Framework, therefore charts can be easily integrated |
|
7 | 7 | to modern user interfaces. |
|
8 | 8 | |
|
9 | 9 | System Requirements |
|
10 | 10 | =================== |
|
11 | 11 | |
|
12 | 12 | - Qt 5.4 or newer |
|
13 | 13 | - For QML applications QtQuick 2 is required |
|
14 | 14 | - Manipulating Qt Charts graphs with QML Designer requires Qt Creator 3.3 or newer |
|
15 | 15 | |
|
16 | 16 | Building |
|
17 | 17 | ======== |
|
18 | 18 | |
|
19 | 19 | Configure the project with qmake: |
|
20 | 20 | qmake |
|
21 | 21 | |
|
22 | 22 | After running qmake, build the project with make: |
|
23 | 23 | (Linux) make |
|
24 | 24 | (Windows with MinGw) mingw32-make |
|
25 | 25 | (Windows with Visual Studio) nmake |
|
26 | 26 | (OS X) make |
|
27 | 27 | |
|
28 | 28 | The above generates the default makefiles for your configuration, which is typically |
|
29 | 29 | the release build if you are using precompiled binary Qt distribution. To build both |
|
30 | 30 | debug and release, or one specifically, use one of the following qmake lines instead. |
|
31 | 31 | |
|
32 | 32 | For debug builds: |
|
33 | 33 | qmake CONFIG+=debug |
|
34 | 34 | make |
|
35 | 35 | or |
|
36 | 36 | qmake CONFIG+=debug_and_release |
|
37 | 37 | make debug |
|
38 | 38 | |
|
39 | 39 | For release builds: |
|
40 | 40 | qmake CONFIG+=release |
|
41 | 41 | make |
|
42 | 42 | or |
|
43 | 43 | qmake CONFIG+=debug_and_release |
|
44 | 44 | make release |
|
45 | 45 | |
|
46 | 46 | For both builds (Windows/OS X only): |
|
47 | 47 | qmake CONFIG+="debug_and_release build_all" |
|
48 | 48 | make |
|
49 | 49 | |
|
50 | 50 | After building, install the module to your Qt directory: |
|
51 | 51 | make install |
|
52 | 52 | |
|
53 | 53 | If you want to uninstall the module: |
|
54 | 54 | make uninstall |
|
55 | 55 | |
|
56 | 56 | Building as a statically linked library |
|
57 | 57 | ======================================= |
|
58 | 58 | |
|
59 | 59 | The same as above applies, you will just have to add static to the CONFIG: |
|
60 | 60 | qmake CONFIG+=static |
|
61 | 61 | |
|
62 | 62 | Documentation |
|
63 | 63 | ============= |
|
64 | 64 | |
|
65 | 65 | The documentation can be generated with: |
|
66 | 66 | make docs |
|
67 | 67 | |
|
68 | 68 | The documentation is generated into the doc folder under the build folder. |
|
69 | 69 | Both Qt Assistant (qtcharts.qch) and in HTML format (qtcharts subfolder) |
|
70 | 70 | documentation is generated. |
|
71 | 71 | |
|
72 | 72 | Please refer to the generated documentation for more information: |
|
73 | 73 | doc/qtcharts/index.html |
|
74 | 74 | |
|
75 | 75 | Known issues |
|
76 | 76 | ============ |
|
77 | 77 | |
|
78 | 78 | - Zooming too far or too close may eventually freeze the zooming and scrolling. |
@@ -1,72 +1,72 | |||
|
1 | 1 | include($QT_INSTALL_DOCS/global/macros.qdocconf) |
|
2 | 2 | include($QT_INSTALL_DOCS/global/qt-cpp-defines.qdocconf) |
|
3 | 3 | include($QT_INSTALL_DOCS/global/compat.qdocconf) |
|
4 | 4 | include($QT_INSTALL_DOCS/global/fileextensions.qdocconf) |
|
5 | 5 | include($QT_INSTALL_DOCS/global/qt-html-templates-offline.qdocconf) |
|
6 | 6 | |
|
7 | 7 | project = QtCharts |
|
8 | 8 | description = Qt Charts Reference Documentation |
|
9 |
version = 2. |
|
|
9 | version = 2.1.0 | |
|
10 | 10 | |
|
11 | 11 | sourcedirs += .. \ |
|
12 | 12 | ../../chartsqml2 |
|
13 | 13 | headerdirs += .. \ |
|
14 | 14 | ../../chartsqml2 |
|
15 | 15 | exampledirs += ../../../examples/charts \ |
|
16 | 16 | snippets |
|
17 | 17 | imagedirs += images |
|
18 | 18 | examplesinstallpath = charts |
|
19 | 19 | |
|
20 | 20 | sources.fileextensions = "*.cpp *.qdoc" |
|
21 | 21 | |
|
22 | 22 | indexes += $QT_INSTALL_DOCS/qtcore/qtcore.index \ |
|
23 | 23 | $QT_INSTALL_DOCS/qtgui/qtgui.index \ |
|
24 | 24 | $QT_INSTALL_DOCS/qtqml/qtqml.index \ |
|
25 | 25 | $QT_INSTALL_DOCS/qtquick/qtquick.index \ |
|
26 | 26 | $QT_INSTALL_DOCS/qtmultimedia/qtmultimedia.index |
|
27 | 27 | |
|
28 | 28 | Cpp.ignoretokens = Q_INVOKABLE \ |
|
29 | 29 | QT_CHARTS_EXPORT \ |
|
30 | 30 | QT_CHARTS_END_NAMESPACE \ |
|
31 | 31 | QT_CHARTS_BEGIN_NAMESPACE |
|
32 | 32 | |
|
33 | 33 | qhp.projects = QtCharts |
|
34 | 34 | qhp.QtCharts.file = qtcharts.qhp |
|
35 |
qhp.QtCharts.namespace = com.digia.qtcharts.2 |
|
|
35 | qhp.QtCharts.namespace = com.digia.qtcharts.210 | |
|
36 | 36 | qhp.QtCharts.virtualFolder = qtcharts |
|
37 | 37 | qhp.QtCharts.indexTitle = Qt Charts |
|
38 | 38 | qhp.QtCharts.indexRoot = |
|
39 | 39 | |
|
40 |
qhp.QtCharts.filterAttributes = qtcharts 2. |
|
|
41 |
qhp.QtCharts.customFilters.Qt.name = QtCharts 2. |
|
|
42 |
qhp.QtCharts.customFilters.Qt.filterAttributes = qtcharts 2. |
|
|
40 | qhp.QtCharts.filterAttributes = qtcharts 2.1.0 qtrefdoc | |
|
41 | qhp.QtCharts.customFilters.Qt.name = QtCharts 2.1.0 | |
|
42 | qhp.QtCharts.customFilters.Qt.filterAttributes = qtcharts 2.1.0 | |
|
43 | 43 | |
|
44 | 44 | qhp.QtCharts.subprojects = gettingstarted classes types examples |
|
45 | 45 | |
|
46 | 46 | qhp.QtCharts.subprojects.gettingstarted.title = Getting Started |
|
47 | 47 | qhp.QtCharts.subprojects.gettingstarted.indexTitle = Qt Charts Getting Started |
|
48 | 48 | qhp.QtCharts.subprojects.gettingstarted.selectors = fake:page |
|
49 | 49 | qhp.QtCharts.subprojects.gettingstarted.sortPages = true |
|
50 | 50 | |
|
51 | 51 | qhp.QtCharts.subprojects.classes.title = C++ Classes |
|
52 | 52 | qhp.QtCharts.subprojects.classes.indexTitle = Qt Charts C++ Classes |
|
53 | 53 | qhp.QtCharts.subprojects.classes.selectors = class |
|
54 | 54 | qhp.QtCharts.subprojects.classes.sortPages = true |
|
55 | 55 | |
|
56 | 56 | qhp.QtCharts.subprojects.types.title = QML Types |
|
57 | 57 | qhp.QtCharts.subprojects.types.indexTitle = Qt Charts QML Types |
|
58 | 58 | qhp.QtCharts.subprojects.types.selectors = qmlclass |
|
59 | 59 | qhp.QtCharts.subprojects.types.sortPages = true |
|
60 | 60 | |
|
61 | 61 | qhp.QtCharts.subprojects.examples.title = Examples |
|
62 | 62 | qhp.QtCharts.subprojects.examples.indexTitle = Qt Charts Examples |
|
63 | 63 | qhp.QtCharts.subprojects.examples.selectors = fake:example |
|
64 | 64 | qhp.QtCharts.subprojects.examples.sortPages = true |
|
65 | 65 | |
|
66 | 66 | navigation.landingpage = Qt Charts |
|
67 | 67 | navigation.cppclassespage = Qt Charts C++ Classes |
|
68 | 68 | navigation.qmltypespage = Qt Charts QML Types |
|
69 | 69 | |
|
70 | 70 | depends = qtwidgets |
|
71 | 71 | |
|
72 | 72 | buildversion = Qt Charts $QT_VERSION Reference Documentation |
@@ -1,76 +1,76 | |||
|
1 | 1 | /**************************************************************************** |
|
2 | 2 | ** |
|
3 | 3 | ** Copyright (C) 2015 The Qt Company Ltd |
|
4 | 4 | ** All rights reserved. |
|
5 | 5 | ** For any questions to The Qt Company, please use contact form at http://qt.io |
|
6 | 6 | ** |
|
7 | 7 | ** This file is part of the Qt Charts module. |
|
8 | 8 | ** |
|
9 | 9 | ** Licensees holding valid commercial license for Qt may use this file in |
|
10 | 10 | ** accordance with the Qt License Agreement provided with the Software |
|
11 | 11 | ** or, alternatively, in accordance with the terms contained in a written |
|
12 | 12 | ** agreement between you and The Qt Company. |
|
13 | 13 | ** |
|
14 | 14 | ** If you have questions regarding the use of this file, please use |
|
15 | 15 | ** contact form at http://qt.io |
|
16 | 16 | ** |
|
17 | 17 | ****************************************************************************/ |
|
18 | 18 | |
|
19 | 19 | #ifndef QCHARTGLOBAL_H |
|
20 | 20 | #define QCHARTGLOBAL_H |
|
21 | 21 | |
|
22 | 22 | #include <QtCore/QtGlobal> |
|
23 | 23 | |
|
24 |
#define QT_CHARTS_VERSION_STR "2. |
|
|
24 | #define QT_CHARTS_VERSION_STR "2.1.0" | |
|
25 | 25 | /* |
|
26 | 26 | QT_CHARTS_VERSION is (major << 16) + (minor << 8) + patch. |
|
27 | 27 | */ |
|
28 |
#define QT_CHARTS_VERSION 0x02000 |
|
|
28 | #define QT_CHARTS_VERSION 0x020100 | |
|
29 | 29 | /* |
|
30 | 30 | can be used like #if (QT_CHARTS_VERSION >= QT_CHARTS_VERSION_CHECK(1, 1, 0)) |
|
31 | 31 | */ |
|
32 | 32 | #define QT_CHARTS_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) |
|
33 | 33 | |
|
34 | 34 | #if defined(QT_CHARTS_LIBRARY) |
|
35 | 35 | # define QT_CHARTS_EXPORT Q_DECL_EXPORT |
|
36 | 36 | #else |
|
37 | 37 | # define QT_CHARTS_EXPORT Q_DECL_IMPORT |
|
38 | 38 | #endif |
|
39 | 39 | |
|
40 | 40 | #if defined(BUILD_PRIVATE_UNIT_TESTS) && defined(QT_CHARTS_LIBRARY) |
|
41 | 41 | # define QT_CHARTS_AUTOTEST_EXPORT Q_DECL_EXPORT |
|
42 | 42 | #elif defined(BUILD_PRIVATE_UNIT_TESTS) && !defined(QT_CHARTS_LIBRARY) |
|
43 | 43 | # define QT_CHARTS_AUTOTEST_EXPORT Q_DECL_IMPORT |
|
44 | 44 | #else |
|
45 | 45 | # define QT_CHARTS_AUTOTEST_EXPORT |
|
46 | 46 | #endif |
|
47 | 47 | |
|
48 | 48 | #ifdef QT_CHARTS_STATICLIB |
|
49 | 49 | # undef QT_CHARTS_EXPORT |
|
50 | 50 | # undef QT_CHARTS_AUTOTEST_EXPORT |
|
51 | 51 | # define QT_CHARTS_EXPORT |
|
52 | 52 | # define QT_CHARTS_AUTOTEST_EXPORT |
|
53 | 53 | #endif |
|
54 | 54 | |
|
55 | 55 | #define QT_CHARTS_NAMESPACE QtCharts |
|
56 | 56 | |
|
57 | 57 | #ifdef QT_CHARTS_NAMESPACE |
|
58 | 58 | # define QT_CHARTS_BEGIN_NAMESPACE namespace QT_CHARTS_NAMESPACE { |
|
59 | 59 | # define QT_CHARTS_END_NAMESPACE } |
|
60 | 60 | # define QT_CHARTS_USE_NAMESPACE using namespace QT_CHARTS_NAMESPACE; |
|
61 | 61 | #else |
|
62 | 62 | # define QT_CHARTS_BEGIN_NAMESPACE |
|
63 | 63 | # define QT_CHARTS_END_NAMESPACE |
|
64 | 64 | # define QT_CHARTS_USE_NAMESPACE |
|
65 | 65 | #endif |
|
66 | 66 | |
|
67 | 67 | /* |
|
68 | 68 | On Windows min and max conflict with standard macros |
|
69 | 69 | */ |
|
70 | 70 | #ifdef Q_OS_WIN |
|
71 | 71 | #ifndef NOMINMAX |
|
72 | 72 | #define NOMINMAX |
|
73 | 73 | #endif |
|
74 | 74 | #endif |
|
75 | 75 | |
|
76 | 76 | #endif // QCHARTGLOBAL_H |
General Comments 0
You need to be logged in to leave comments.
Login now