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

UmbrellaLeaf5/qcustomplot

 
 

Repository files navigation

Table of contents :

Introduction

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

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 differences with the official version (represented by tweak version property).

Library version Qt compatibility
2.1.1.1.ul move files: lib/* -> ./*
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

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) # Or if library is put in a folder "dependencies" : add_subdirectory(dependencies/qcustomplot)
  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

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

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 99.8%
  • CMake 0.2%