Table of contents :
This repository allow to use QCustomPlot as a shared library compliant with CMake build system.
Besides, this repository also provides community patches available.
Official changelog of the library can be found at official changelog file.
This repository also provide a changelog in order to track change differencies with the official version (represented by tweak version property).
Library version | Qt compatibility |
---|---|
2.1.1.1 | Qt 4.6.x -> Qt 6.4.x |
2.1.0.2 | Qt 5.8.x -> Qt 6.2.x |
2.1.0.1 | Qt 4.6.x -> Qt 6.0.0 |
This library can be use as an embedded library in a subdirectory of your project (like a git submodule for example) :
- In the root CMakeLists, add instructions :
add_subdirectory(QCustomPlot-library) # Or if library is put in a folder "dependencies" : add_subdirectory(dependencies/QCustomPlot-library)
- In the application/library CMakeLists, add instructions :
# Link needed libraries
# QCustomPlot library
target_link_libraries(${PROJECT_NAME} PRIVATE qcustomplot)
# Compile needed definitions
target_compile_definitions(${PROJECT_NAME} PRIVATE QCUSTOMPLOT_USE_LIBRARY)
Examples of how to use the library can be found in the associated repository QCustomPlot-examples
QCustomPlot is released under GPL-3.0 License, so as this repository.