QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets # The following define makes your compiler emit warnings if you use # any feature of Qt which has been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS TEMPLATE = lib CONFIG += c++17 HEADERS = \ PluginUnit.h \ myunitui.h SOURCES = \ PluginUnit.cpp \ myunitui.cpp FORMS += \ myunitui.ui INCLUDEPATH += $$PWD/../../include \ $$PWD/../../HPluginManage \ $$PWD/../../CallPlugin INCLUDEPATH += $$PWD/../../Slfio/include # Default rules for deployment. CONFIG(debug, debug|release){ TARGET = PluginUnitd DESTDIR = $$PWD/../../Bin/customPlugind MOC_DIR = ../tmp/PluginUnitd UI_DIR = ../tmp/PluginUnitd OBJECTS_DIR = ../tmp/PluginUnitd LIBS += -L$$PWD/../../Bin/ -lCallPlugind -lHPluginManaged -lslfiod } else { TARGET = PluginUnit DESTDIR = $$PWD/../../BinR/customPlugin MOC_DIR = ../tmp/PluginUnit UI_DIR = ../tmp/PluginUnit OBJECTS_DIR = ../tmp/PluginUnit LIBS += -L$$PWD/../../BinR/ -lCallPlugin -lHPluginManage -lslfio } RESOURCES += \ res.qrc