mywork.pro 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. QT += core gui network
  2. QT += webenginewidgets
  3. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  4. CONFIG += c++11
  5. # The following define makes your compiler emit warnings if you use
  6. # any Qt feature that has 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 it uses 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. baseapi.cc \
  16. home.cpp \
  17. httpapi.cc \
  18. main.cpp \
  19. mainwindow.cpp
  20. HEADERS += \
  21. baseapi.h \
  22. constants.h \
  23. home.h \
  24. httpapi.h \
  25. mainwindow.h
  26. FORMS += \
  27. home.ui \
  28. mainwindow.ui
  29. # Default rules for deployment.
  30. qnx: target.path = /tmp/$${TARGET}/bin
  31. else: unix:!android: target.path = /opt/$${TARGET}/bin
  32. !isEmpty(target.path): INSTALLS += target
  33. RC_ICONS = favicon.ico
  34. DISTFILES += \
  35. macpackage