qv.pro 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. QT += core gui webenginewidgets webchannel network
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++11
  4. CONFIG -= qtquickcompiler
  5. RC_ICONS = images/logo.ico
  6. # The following define makes your compiler emit warnings if you use
  7. # any Qt feature that has been marked deprecated (the exact warnings
  8. # depend on your compiler). Please consult the documentation of the
  9. # deprecated API in order to know how to port your code away from it.
  10. DEFINES += QT_DEPRECATED_WARNINGS
  11. # You can also make your code fail to compile if it uses deprecated APIs.
  12. # In order to do so, uncomment the following line.
  13. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  14. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  15. SOURCES += \
  16. CWorker/worker.cpp \
  17. Common/ccommon.cpp \
  18. main.cpp \
  19. mainwindow.cpp
  20. HEADERS += \
  21. CWorker/worker.h \
  22. Common/ccommon.h \
  23. mainwindow.h
  24. FORMS += \
  25. mainwindow.ui
  26. # Default rules for deployment.
  27. qnx: target.path = /tmp/$${TARGET}/bin
  28. else: unix:!android: target.path = /opt/$${TARGET}/bin
  29. !isEmpty(target.path): INSTALLS += target
  30. RESOURCES += \
  31. src.qrc