QFD.pro 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. QT += core gui sql concurrent xml svg
  2. win32: {
  3. QT += winextras axcontainer
  4. }
  5. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  6. *g++*: {
  7. QMAKE_CXXFLAGS_RELEASE -= -O
  8. QMAKE_CXXFLAGS_RELEASE *= -O3
  9. }
  10. *msvc*: {
  11. QMAKE_CFLAGS += /utf-8
  12. QMAKE_CXXFLAGS += /utf-8
  13. QMAKE_CXXFLAGS_RELEASE -= /O
  14. QMAKE_CXXFLAGS_RELEASE *= /O2
  15. }
  16. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  17. CONFIG += c++11
  18. INCLUDEPATH += $$PWD/../QFluentWidgets
  19. CONFIG(debug, release|debug){
  20. win32:LIBS += -lqfluentwidgetsd
  21. else: LIBS += -lqfluentwidgets
  22. } else {
  23. LIBS += -lqfluentwidgets
  24. }
  25. INCLUDEPATH += $$PWD/../QFramelessWindow
  26. INCLUDEPATH += $$PWD/../QFramelessWindow/windows
  27. INCLUDEPATH += $$PWD/../QFramelessWindow/titlebar
  28. CONFIG(debug, release|debug){
  29. win32:LIBS += -lqframelesswindowd -luser32 -lDwmapi
  30. else: LIBS += -lqframelesswindow -luser32 -lDwmapi
  31. } else {
  32. LIBS += -lqframelesswindow
  33. }
  34. #-------------------------------------------------------------------------------
  35. # Build options
  36. #-------------------------------------------------------------------------------
  37. DESTDIR = $$PWD/../bin #指定生成的应用程序放置的路径
  38. LIBS += -L$$PWD/../bin #指定生成的库文件放置的路径,与应用程序放在一起
  39. # You can make your code fail to compile if it uses deprecated APIs.
  40. # In order to do so, uncomment the following line.
  41. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  42. INCLUDEPATH += $$PWD/pages
  43. INCLUDEPATH += $$PWD/widgets
  44. INCLUDEPATH += $$PWD/common
  45. SOURCES += \
  46. common/ExpertManager.cpp \
  47. common/ProjectManager.cpp \
  48. common/QFDAlert.cpp \
  49. common/QFDConfig.cpp \
  50. common/QFDIcon.cpp \
  51. main.cpp \
  52. view/AboutView.cpp \
  53. view/EvaluateView.cpp \
  54. view/ExpertManageView.cpp \
  55. view/HomeView.cpp \
  56. view/LoginView.cpp \
  57. view/MainWindow.cpp \
  58. view/ProjectView.cpp \
  59. view/SettingView.cpp \
  60. view/UserView.cpp \
  61. widgets/AddSchemeWidget.cpp \
  62. widgets/AppInfoWidget.cpp \
  63. widgets/ConfigExpertWidget.cpp \
  64. widgets/CreateProjWidget.cpp \
  65. widgets/CustomTitleBar.cpp \
  66. widgets/DataCollectionWidget.cpp \
  67. widgets/DataProcessingWidget.cpp \
  68. widgets/EvalSchemeWidget.cpp \
  69. widgets/EvalWidget.cpp \
  70. widgets/EvaluateOptionWidget.cpp \
  71. widgets/ExpertInfoWidget.cpp \
  72. widgets/ExpertListWidget.cpp \
  73. widgets/IndexSystemWidget.cpp \
  74. widgets/LoginWidget.cpp \
  75. widgets/ProjectListWidget.cpp \
  76. widgets/ProjectStateWidget.cpp \
  77. widgets/RegisterWidget.cpp \
  78. widgets/RenameWidget.cpp \
  79. widgets/SchemeOptionWidget.cpp \
  80. widgets/SchemeWidget.cpp
  81. HEADERS += \
  82. common/ExpertManager.h \
  83. common/ProjectManager.h \
  84. common/QFDAlert.h \
  85. common/QFDConfig.h \
  86. common/QFDIcon.h \
  87. view/AboutView.h \
  88. view/EvaluateView.h \
  89. view/ExpertManageView.h \
  90. view/HomeView.h \
  91. view/LoginView.h \
  92. view/MainWindow.h \
  93. view/ProjectView.h \
  94. view/SettingView.h \
  95. view/UserView.h \
  96. widgets/AddSchemeWidget.h \
  97. widgets/AppInfoWidget.h \
  98. widgets/ConfigExpertWidget.h \
  99. widgets/CreateProjWidget.h \
  100. widgets/CustomTitleBar.h \
  101. widgets/DataCollectionWidget.h \
  102. widgets/DataProcessingWidget.h \
  103. widgets/EvalSchemeWidget.h \
  104. widgets/EvalWidget.h \
  105. widgets/EvaluateOptionWidget.h \
  106. widgets/ExpertInfoWidget.h \
  107. widgets/ExpertListWidget.h \
  108. widgets/IndexSystemWidget.h \
  109. widgets/LoginWidget.h \
  110. widgets/ProjectListWidget.h \
  111. widgets/ProjectStateWidget.h \
  112. widgets/RegisterWidget.h \
  113. widgets/RenameWidget.h \
  114. widgets/SchemeOptionWidget.h \
  115. widgets/SchemeWidget.h
  116. include(./mindmap/mindmap.pri)
  117. include(./CCanvas/CCanvas.pri)
  118. include(./shemeTable/shemeTable.pri)
  119. include(./QtAwesome/QtAwesome.pri)
  120. include(./EasyQtSql/EasyQtSql.pri)
  121. include(./dbService/dbService.pri)
  122. include(./helper/helper.pri)
  123. include(./QFDWidget/QFDWidget.pri)
  124. include(./QXlsx-1.4.3/QXlsx.pri)
  125. INCLUDEPATH += mindmap/ \
  126. shemeTable/ \
  127. helper \
  128. # Default rules for deployment.
  129. qnx: target.path = /tmp/$${TARGET}/bin
  130. else: unix:!android: target.path = /opt/$${TARGET}/bin
  131. !isEmpty(target.path): INSTALLS += target
  132. RESOURCES += \
  133. resource.qrc
  134. FORMS +=
  135. VERSION = "2.1.2.1"
  136. DISTFILES +=