@@ -1,73 +1,78 | |||
|
1 | 1 | --------------- |
|
2 | 2 | Qt Charts 2.0.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 | ||
|
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