QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++17 TARGET = MQTTAgent TEMPLATE = lib unix{ } else{ #DESTDIR = $$PWD/../bin/plugins DESTDIR = $$PWD/../lib } INCLUDEPATH += ../include #LIBS += -L$$PWD/lib/ -lQt5Qmqtt SOURCES += \ MQTTAgent.cpp \ # main.cpp \ # widget.cpp HEADERS += \ MQTTAgent.h \ # qmqtt.h \ # widget.h FORMS += \ # widget.ui LIBS += $$PWD/../bin/Qt5Qmqtt.dll # Default rules for deployment. #qnx: target.path = /tmp/$${TARGET}/bin #else: unix:!android: target.path = /opt/$${TARGET}/bin #!isEmpty(target.path): INSTALLS += target