QT += core sql network websockets QT -= gui TARGET = ytServiceCore CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp \ core.cpp \ db_syncthread.cpp \ datacenter.cpp \ webdatathread.cpp \ wscenter.cpp \ programconf.cpp \ wsclient.cpp \ logthread.cpp \ subsysreport.cpp \ subreportthread.cpp \ rep_dbthread.cpp HEADERS += \ ytServiceShm.h \ core.h \ db_syncthread.h \ QReplyTimeout.h \ ../../WebInterface/WebDataCore/WebDataShm.h \ datacenter.h \ webdatathread.h \ AlarmSet.h \ wscenter.h \ ytservicecore.h \ programconf.h \ wsclient.h \ logthread.h \ subreportthread.h \ subsysreport.h \ redis.h \ rep_dbthread.h LIBS += -ljson-c -lssl -lcrypto LIBS += "/usr/local/lib/libhiredis.a"