QT += core sql network QT -= gui CONFIG += c++11 console CONFIG -= app_bundle TARGET = agDP0002 SOURCES += \ main.cpp \ logthread.cpp \ databasethread.cpp \ httpthread.cpp \ guardcore.cpp \ tcpserver.cpp \ devinfotcpserver.cpp INCLUDEPATH += ../qmqtt-master/src/mqtt/ HEADERS += \ logthread.h \ ../QReplyTimeout.h \ databasethread.h \ httpthread.h \ guardcore.h \ tcpserver.h \ devinfotcpserver.h LIBS += -lQt5Qmqtt