launcher.pro 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. QT += core gui multimedia
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++17
  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. ../component/CWindowsFireWall.cpp \
  15. envCheck.cpp \
  16. envResult.cpp \
  17. envResultItem.cpp \
  18. main.cpp \
  19. launcher.cpp \
  20. upgrade.cpp\
  21. HEADERS += \
  22. ../component/CWindowsFireWall.h \
  23. envCheck.h \
  24. envResult.h \
  25. envResultItem.h \
  26. launcher.h \
  27. upgrade.h\
  28. FORMS += \
  29. envCheck.ui \
  30. envResult.ui \
  31. envResultItem.ui \
  32. launcher.ui \
  33. upgrade.ui\
  34. UI_DIR += ./forms
  35. RCC_DIR += ./tmp
  36. MOC_DIR += ./tmp
  37. OBJECTS_DIR += ./tmp
  38. RC_ICONS = images/coe.ico
  39. include(../common/common.pri)
  40. INCLUDEPATH += ../common/ \
  41. ../component
  42. LIBS += \
  43. -ladvapi32\
  44. # Default rules for deployment.
  45. qnx: target.path = /tmp/$${TARGET}/bin
  46. else: unix:!android: target.path = /opt/$${TARGET}/bin
  47. !isEmpty(target.path): INSTALLS += target
  48. RESOURCES += \
  49. rc.qrc