JKQtPlotter/staticlib
2019-01-19 16:13:08 +01:00
..
jkqtfastplotterlib.pro bugfix: staticlib also built a shared lib 2018-12-28 18:34:12 +01:00
jkqtmathtextlib.pro bugfix: staticlib also built a shared lib 2018-12-28 18:34:12 +01:00
jkqtplotterlib.pro bugfix: staticlib also built a shared lib 2018-12-28 18:34:12 +01:00
README.md cleaned/improved doc further 2019-01-19 16:13:08 +01:00

JKQtPlotter: Build as a STATIC library

This directory contains Projects that can be used to build a static library of JKQtPlotter (i.e. the contents of the directory ../lib

QMake

Build shared libraries

There are several .PRO-files, that can be used to build the full library, or a limited subsets. They will produce a static link libraries that you can include into your projects, e.g. with the following QMake-snippet:

# include JKQtPlotter library
DEPENDPATH += <PATHTOJKQTPLOTTERDIR>/lib
INCLUDEPATH += <PATHTOJKQTPLOTTERDIR>/lib
CONFIG (debug, debug|release) {
    LIBS += -L<PATHTOJKQTPLOTTERDIR>/staticlib/debug -ljkqtplotterlib_debug
} else {
    LIBS += -L<PATHTOJKQTPLOTTERDIR>/staticlib/release -ljkqtplotterlib
}

This snippet assumes that you built the libraries with the provided .PRO-files.