ytDeviceDataInfluxdbWriter.pro 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. QT -= gui
  2. QT += core network websockets
  3. CONFIG += c++11 console
  4. CONFIG -= app_bundle
  5. # The following define makes your compiler emit warnings if you use
  6. # any feature of Qt which as been marked deprecated (the exact warnings
  7. # depend on your compiler). Please consult the documentation of the
  8. # deprecated API in order to know how to port your code away from it.
  9. DEFINES += QT_DEPRECATED_WARNINGS
  10. # You can also make your code fail to compile if you use deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  13. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  14. SOURCES += \
  15. main.cpp \
  16. devicedatainfluxdbwriter.cpp \
  17. logthread.cpp \
  18. mqttthread.cpp
  19. # Default rules for deployment.
  20. qnx: target.path = /tmp/$${TARGET}/bin
  21. else: unix:!android: target.path = /opt/$${TARGET}/bin
  22. !isEmpty(target.path): INSTALLS += target
  23. INCLUDEPATH += ../qmqtt-master/src/mqtt
  24. HEADERS += \
  25. devicedatainfluxdbwriter.h \
  26. logthread.h \
  27. mqttthread.h \
  28. qreplytimeout.h
  29. LIBS += -lQt5Qmqtt