CCGDServer.pro 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++14
  4. # The following define makes your compiler emit warnings if you use
  5. # any Qt feature that has been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if it uses deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. SOURCES += \
  14. DataManager.cpp \
  15. QThreadHttpClient.cpp \
  16. QThreadHttpServer.cpp \
  17. Widget_HttpSendJson.cpp \
  18. main.cpp \
  19. ccgdserver.cpp
  20. HEADERS += \
  21. DataManager.h \
  22. QThreadHttpClient.h \
  23. QThreadHttpServer.h \
  24. Widget_HttpSendJson.h \
  25. ccgdserver.h \
  26. httplib.h
  27. FORMS += \
  28. Widget_HttpSendJson.ui \
  29. ccgdserver.ui
  30. TRANSLATIONS += \
  31. CCGDServer_zh_CN.ts
  32. # Default rules for deployment.
  33. qnx: target.path = /tmp/$${TARGET}/bin
  34. else: unix:!android: target.path = /opt/$${TARGET}/bin
  35. !isEmpty(target.path): INSTALLS += target
  36. RESOURCES +=
  37. INCLUDEPATH += \
  38. $$PWD/../Include/
  39. LIBS += \
  40. $$PWD/../lib/libjsoncpp_linux.a