# 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`](../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: ```.qmake # include JKQTPlotter library DEPENDPATH += /staticlib/jkqtplotterlib /lib INCLUDEPATH += /lib CONFIG (debug, debug|release) { DEPENDPATH += /staticlib/jkqtplotterlib/debug LIBS += -L/staticlib/jkqtplotterlib/debug -ljkqtplotterlib_debug } else { DEPENDPATH += /staticlib/jkqtplotterlib/release LIBS += -L/staticlib/jkqtplotterlib/release -ljkqtplotterlib } ``` This snippet assumes that you built the libraries with the provided `.PRO`-files.