README
73 lines
| 1.8 KiB
| text/plain
|
TextLexer
Titta Heikkala
|
r2744 | --------------- | ||
Qt Charts 2.0.0 | ||||
--------------- | ||||
samakkon
|
r916 | |||
Titta Heikkala
|
r2744 | Qt Charts module provides a set of easy to use chart components. It uses | ||
the Qt Graphics View Framework, therefore charts can be easily integrated | ||||
to modern user interfaces. | ||||
System Requirements | ||||
Miikka Heikkinen
|
r2587 | =================== | ||
samakkon
|
r916 | |||
Titta Heikkala
|
r2744 | - Qt 5.4 or newer | ||
- For QML applications QtQuick 2 is required | ||||
- Manipulating Qt Charts graphs with QML Designer requires Qt Creator 3.2 or newer | ||||
samakkon
|
r917 | |||
Michal Klocek
|
r1049 | Building | ||
samakkon
|
r916 | ======== | ||
Titta Heikkala
|
r2640 | |||
Titta Heikkala
|
r2744 | Configure the project with qmake: | ||
qmake | ||||
samakkon
|
r916 | |||
Titta Heikkala
|
r2744 | After running qmake, build the project with make: | ||
(Linux) make | ||||
Michal Klocek
|
r1049 | (Windows with MinGw) mingw32-make | ||
Titta Heikkala
|
r2744 | (Windows with Visual Studio) nmake | ||
(OS X) make | ||||
The above generates the default makefiles for your configuration, which is typically | ||||
the release build if you are using precompiled binary Qt distribution. To build both | ||||
debug and release, or one specifically, use one of the following qmake lines instead. | ||||
samakkon
|
r916 | |||
Michal Klocek
|
r1677 | For debug builds: | ||
Titta Heikkala
|
r2744 | qmake CONFIG+=debug | ||
make | ||||
or | ||||
qmake CONFIG+=debug_and_release | ||||
make debug | ||||
For release builds: | ||||
qmake CONFIG+=release | ||||
make | ||||
or | ||||
qmake CONFIG+=debug_and_release | ||||
make release | ||||
For both builds (Windows/OS X only): | ||||
qmake CONFIG+="debug_and_release build_all" | ||||
make | ||||
After building, install the module to your Qt directory: | ||||
Michal Klocek
|
r1049 | make install | ||
samakkon
|
r916 | |||
Titta Heikkala
|
r2744 | If you want to uninstall the module: | ||
Michal Klocek
|
r1049 | make uninstall | ||
samakkon
|
r916 | |||
Jani Honkonen
|
r1440 | Building as a statically linked library | ||
======================================= | ||||
Titta Heikkala
|
r2744 | The same as above applies, you will just have to add static to the CONFIG: | ||
qmake CONFIG+=static | ||||
Jani Honkonen
|
r1440 | |||
samakkon
|
r916 | Documentation | ||
============= | ||||
Titta Heikkala
|
r2640 | |||
Titta Heikkala
|
r2744 | The documentation can be generated with: | ||
Tero Ahola
|
r2035 | make docs | ||
samakkon
|
r916 | |||
Titta Heikkala
|
r2744 | The documentation is generated into the doc folder under the build folder. | ||
Both Qt Assistant (qtcharts.qch) and in HTML format (qtcharts subfolder) | ||||
documentation is generated. | ||||
Please refer to the generated documentation for more information: | ||||
doc/qtcharts/index.html | ||||