@@ -1,73 +1,78 | |||||
1 | --------------- |
|
1 | --------------- | |
2 | Qt Charts 2.0.0 |
|
2 | Qt Charts 2.0.0 | |
3 | --------------- |
|
3 | --------------- | |
4 |
|
4 | |||
5 | Qt Charts module provides a set of easy to use chart components. It uses |
|
5 | Qt Charts module provides a set of easy to use chart components. It uses | |
6 | the Qt Graphics View Framework, therefore charts can be easily integrated |
|
6 | the Qt Graphics View Framework, therefore charts can be easily integrated | |
7 | to modern user interfaces. |
|
7 | to modern user interfaces. | |
8 |
|
8 | |||
9 | System Requirements |
|
9 | System Requirements | |
10 | =================== |
|
10 | =================== | |
11 |
|
11 | |||
12 | - Qt 5.4 or newer |
|
12 | - Qt 5.4 or newer | |
13 | - For QML applications QtQuick 2 is required |
|
13 | - For QML applications QtQuick 2 is required | |
14 | - Manipulating Qt Charts graphs with QML Designer requires Qt Creator 3.3 or newer |
|
14 | - Manipulating Qt Charts graphs with QML Designer requires Qt Creator 3.3 or newer | |
15 |
|
15 | |||
16 | Building |
|
16 | Building | |
17 | ======== |
|
17 | ======== | |
18 |
|
18 | |||
19 | Configure the project with qmake: |
|
19 | Configure the project with qmake: | |
20 | qmake |
|
20 | qmake | |
21 |
|
21 | |||
22 | After running qmake, build the project with make: |
|
22 | After running qmake, build the project with make: | |
23 | (Linux) make |
|
23 | (Linux) make | |
24 | (Windows with MinGw) mingw32-make |
|
24 | (Windows with MinGw) mingw32-make | |
25 | (Windows with Visual Studio) nmake |
|
25 | (Windows with Visual Studio) nmake | |
26 | (OS X) make |
|
26 | (OS X) make | |
27 |
|
27 | |||
28 | The above generates the default makefiles for your configuration, which is typically |
|
28 | The above generates the default makefiles for your configuration, which is typically | |
29 | the release build if you are using precompiled binary Qt distribution. To build both |
|
29 | the release build if you are using precompiled binary Qt distribution. To build both | |
30 | debug and release, or one specifically, use one of the following qmake lines instead. |
|
30 | debug and release, or one specifically, use one of the following qmake lines instead. | |
31 |
|
31 | |||
32 | For debug builds: |
|
32 | For debug builds: | |
33 | qmake CONFIG+=debug |
|
33 | qmake CONFIG+=debug | |
34 | make |
|
34 | make | |
35 | or |
|
35 | or | |
36 | qmake CONFIG+=debug_and_release |
|
36 | qmake CONFIG+=debug_and_release | |
37 | make debug |
|
37 | make debug | |
38 |
|
38 | |||
39 | For release builds: |
|
39 | For release builds: | |
40 | qmake CONFIG+=release |
|
40 | qmake CONFIG+=release | |
41 | make |
|
41 | make | |
42 | or |
|
42 | or | |
43 | qmake CONFIG+=debug_and_release |
|
43 | qmake CONFIG+=debug_and_release | |
44 | make release |
|
44 | make release | |
45 |
|
45 | |||
46 | For both builds (Windows/OS X only): |
|
46 | For both builds (Windows/OS X only): | |
47 | qmake CONFIG+="debug_and_release build_all" |
|
47 | qmake CONFIG+="debug_and_release build_all" | |
48 | make |
|
48 | make | |
49 |
|
49 | |||
50 | After building, install the module to your Qt directory: |
|
50 | After building, install the module to your Qt directory: | |
51 | make install |
|
51 | make install | |
52 |
|
52 | |||
53 | If you want to uninstall the module: |
|
53 | If you want to uninstall the module: | |
54 | make uninstall |
|
54 | make uninstall | |
55 |
|
55 | |||
56 | Building as a statically linked library |
|
56 | Building as a statically linked library | |
57 | ======================================= |
|
57 | ======================================= | |
58 |
|
58 | |||
59 | The same as above applies, you will just have to add static to the CONFIG: |
|
59 | The same as above applies, you will just have to add static to the CONFIG: | |
60 | qmake CONFIG+=static |
|
60 | qmake CONFIG+=static | |
61 |
|
61 | |||
62 | Documentation |
|
62 | Documentation | |
63 | ============= |
|
63 | ============= | |
64 |
|
64 | |||
65 | The documentation can be generated with: |
|
65 | The documentation can be generated with: | |
66 | make docs |
|
66 | make docs | |
67 |
|
67 | |||
68 | The documentation is generated into the doc folder under the build folder. |
|
68 | The documentation is generated into the doc folder under the build folder. | |
69 | Both Qt Assistant (qtcharts.qch) and in HTML format (qtcharts subfolder) |
|
69 | Both Qt Assistant (qtcharts.qch) and in HTML format (qtcharts subfolder) | |
70 | documentation is generated. |
|
70 | documentation is generated. | |
71 |
|
71 | |||
72 | Please refer to the generated documentation for more information: |
|
72 | Please refer to the generated documentation for more information: | |
73 | doc/qtcharts/index.html |
|
73 | doc/qtcharts/index.html | |
|
74 | ||||
|
75 | Known issues | |||
|
76 | ============ | |||
|
77 | ||||
|
78 | - Zooming too far or too close may eventually freeze the zooming and scrolling. |
General Comments 0
You need to be logged in to leave comments.
Login now