basemain.pro 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. QT += core gui network network-private
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++17
  4. # You can make your code fail to compile if it uses deprecated APIs.
  5. # In order to do so, uncomment the following line.
  6. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  7. include($$PWD/qtsingleapplication/qtsingleapplication.pri)
  8. SOURCES += \
  9. appevent.cpp \
  10. main.cpp \
  11. processmodel.cpp \
  12. processmonitor.cpp \
  13. processthread.cpp \
  14. thardware/thardware.cpp \
  15. updaterthread.cpp \
  16. worker.cpp
  17. # Default rules for deployment.
  18. qnx: target.path = /tmp/$${TARGET}/bin
  19. else: unix:!android: target.path = /opt/$${TARGET}/bin
  20. !isEmpty(target.path): INSTALLS += target
  21. HEADERS += \
  22. appevent.h \
  23. basemainTr.h \
  24. processmodel.h \
  25. processmonitor.h \
  26. processthread.h \
  27. thardware/thardware.h \
  28. updaterthread.h \
  29. worker.h
  30. include($$PWD/CPPWebFramework/CPPWebFramework.pri)
  31. include($$PWD/api/api.pri)
  32. DESTDIR = $$PWD/bin
  33. CONFIG(debug, debug|release) {
  34. TARGET = $$join(TARGET,,,d)
  35. }