ytDataCollectorCore.pro 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. datacollectorcore.cpp \
  17. datacollectorsub.cpp \
  18. datacollectorpub.cpp \
  19. logthread.cpp
  20. # Default rules for deployment.
  21. qnx: target.path = /tmp/$${TARGET}/bin
  22. else: unix:!android: target.path = /opt/$${TARGET}/bin
  23. !isEmpty(target.path): INSTALLS += target
  24. INCLUDEPATH += ../qmqtt-master/src/mqtt
  25. HEADERS += \
  26. datacollectorcore.h \
  27. datacollectorsub.h \
  28. datacollectorpub.h \
  29. logthread.h
  30. LIBS += -lQt5Qmqtt