Skip to content

This repository allow to use QCustomPlot as a shared library compliant with CMake build system.

License

Notifications You must be signed in to change notification settings

KejPi/QCustomPlot-library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents :

1. Introduction

This repository allow to use QCustomPlot as a shared library compliant with CMake build system.
Besides, this repository also provides community patches available.

2. Current version

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

3. How to use

This library can be use as an embedded library in a subdirectory of your project (like a git submodule for example) :

  1. In the root CMakeLists, add instructions :
add_subdirectory(QCustomPlot-library) # Or if library is put in a folder "dependencies" : add_subdirectory(dependencies/QCustomPlot-library)
  1. 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

4. License

QCustomPlot is released under GPL-3.0 License, so as this repository.

About

This repository allow to use QCustomPlot as a shared library compliant with CMake build system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.8%
  • CMake 0.2%