QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport TEMPLATE = lib DEFINES += QCUSTOMPLOT_LIBRARY CONFIG += c++17 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 DESTDIR = $$PWD/ MOC_DIR = $$PWD/Build/moc OBJECTS_DIR = $$PWD/Build/objs RCC_DIR = $$PWD/Build/resources UI_DIR = $$PWD/Build/ui SOURCES += \ qcustomplot.cpp HEADERS += \ qcustomplot_global.h \ qcustomplot.h # Default rules for deployment. unix { target.path = /usr/lib } !isEmpty(target.path): INSTALLS += target