ytSmartLightCore.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. core.cpp \
  17. logthread.cpp \
  18. smartlightserver.cpp \
  19. smartlightcommthread.cpp \
  20. wssserver.cpp \
  21. databasethread.cpp \
  22. interfaceserver.cpp \
  23. interfacethread.cpp
  24. # Default rules for deployment.
  25. qnx: target.path = /tmp/$${TARGET}/bin
  26. else: unix:!android: target.path = /opt/$${TARGET}/bin
  27. !isEmpty(target.path): INSTALLS += target
  28. HEADERS += \
  29. smartlightshm.h \
  30. core.h \
  31. logthread.h \
  32. smartlightserver.h \
  33. smartlightcommthread.h \
  34. wssserver.h \
  35. databasethread.h \
  36. interfaceserver.h \
  37. interfacethread.h