Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.48 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.48 KB

custom-plot-lab

The set of helpers, utilities, and wrappers for QCustomPlot for using in projects reZonator, Spectrum and others.

Usage

Add git submodule:

cd /YOUR/PROJECT/DIR
git submodule add https://github.com/orion-project/custom-plot-lab
git submodule init
git submodule update

Add include file in the .pro file of your Qt project:

include("custom-plot-lab/custom-plot-lab.pri")

This library also uses orion-qt helper library so it should be added as submodule to your project too.

As shared library

Build the library (make sure that <qt-root>\Tools\mingw*\bin and <qt-root>\<qt-version>\mingw*\bin are in PATH):

cd qcustomplot
qmake
make release

# or for windows
mingw32-make release

and add the config option qcustomplotlab_shared in your main project file before including custom-plot-lab:

CONFIG += qcustomplotlab_shared
include("custom-plot-lab/custom-plot-lab.pri")

Sandbox app

sandbox.pro application is used for adding/debugging different features to the library.

Since the library requires orion-qt, the sandbox requires it too. Here is no submodule though, it just expects that library is cloned into ./orion subdir (gitignored):

git clone https://github.com/orion-project/orion-qt orion