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 = \ ../CallManage/CallManage.h \ MyUnitPlugin.h \ myunitui.h SOURCES = \ ../CallManage/CallManage.cpp \ MyUnitPlugin.cpp \ myunitui.cpp FORMS += \ myunitui.ui CONFIG(debug, debug|release){ DESTDIR = ../Bin/customPlugind/ } else { DESTDIR = ../Bin/customPlugin/ } INCLUDEPATH += ../include \ ../CallManage \ ../HPluginManage \ ../CallPlugin # Default rules for deployment. CONFIG(debug, debug|release){ TARGET = MyUnitPlugind DESTDIR = ../Bin/customPlugind MOC_DIR = ../tmp/MyUnitPlugind UI_DIR = ../tmp/MyUnitPlugind OBJECTS_DIR = ../tmp/MyUnitPlugind LIBS += -L$$PWD/../Bin/ -lCallPlugind -lHPluginManaged } else { TARGET = MyUnitPlugin DESTDIR = ../Bin/customPlugin MOC_DIR = ../tmp/MyUnitPlugin UI_DIR = ../tmp/MyUnitPlugin OBJECTS_DIR = ../tmp/MyUnitPlugin LIBS += -L$$PWD/../Bin/ -lCallPlugin -lHPluginManage }