ytDMPDataServer.pro 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. QT -= gui
  2. QT += core network sql 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. dmpdatacore.cpp \
  17. dmpcommthread.cpp \
  18. dmpdataserver.cpp \
  19. databasethread.cpp \
  20. logthread.cpp \
  21. websocketserver.cpp \
  22. websocketclient.cpp
  23. # Default rules for deployment.
  24. qnx: target.path = /tmp/$${TARGET}/bin
  25. else: unix:!android: target.path = /opt/$${TARGET}/bin
  26. !isEmpty(target.path): INSTALLS += target
  27. INCLUDEPATH += ../qmqtt-master/src/mqtt
  28. HEADERS += \
  29. dmpdatacore.h \
  30. dmpcommthread.h \
  31. dmpdataserver.h \
  32. databasethread.h \
  33. dmpdatashm.h \
  34. datashm.h \
  35. logthread.h \
  36. qreplytimeout.h \
  37. websocketserver.h \
  38. websocketclient.h
  39. LIBS += -lQt5Qmqtt -lssl -lcrypto