QFD.pro 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. CONFIG += c++14
  17. CONFIG += qaxcontainer
  18. DEFINES += QFD2_APP
  19. INCLUDEPATH += $$PWD/../QFluentWidgets
  20. CONFIG(debug, release|debug){
  21. win32:LIBS += -lqfluentwidgetsd
  22. else: LIBS += -lqfluentwidgets
  23. } else {
  24. LIBS += -lqfluentwidgets
  25. }
  26. INCLUDEPATH += $$PWD/../QFramelessWindow
  27. INCLUDEPATH += $$PWD/../QFramelessWindow/windows
  28. INCLUDEPATH += $$PWD/../QFramelessWindow/titlebar
  29. INCLUDEPATH += $$PWD/../QtNodes/include
  30. DEFINES += NODE_EDITOR_SHARED
  31. CONFIG(debug, release|debug){
  32. win32:LIBS += -lqframelesswindowd -luser32 -lDwmapi -lQtNodesd
  33. else: LIBS += -lqframelesswindow -luser32 -lDwmapi -lQtNodes
  34. } else {
  35. LIBS += -lqframelesswindow -lQtNodes
  36. }
  37. #-------------------------------------------------------------------------------
  38. # Build options
  39. #-------------------------------------------------------------------------------
  40. DESTDIR = $$PWD/../bin #指定生成的应用程序放置的路径
  41. LIBS += -L$$PWD/../bin #指定生成的库文件放置的路径,与应用程序放在一起
  42. # You can make your code fail to compile if it uses deprecated APIs.
  43. # In order to do so, uncomment the following line.
  44. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  45. INCLUDEPATH += $$PWD/pages
  46. INCLUDEPATH += $$PWD/widgets
  47. INCLUDEPATH += $$PWD/common
  48. INCLUDEPATH += $$PWD/../Eigen
  49. SOURCES += \
  50. algorithm/AverageMethod.cpp \
  51. algorithm/ConsistencyCheck.cpp \
  52. algorithm/EntropyWeights.cpp \
  53. algorithm/GreyClusterEvaluation.cpp \
  54. algorithm/HierarchicalAnalysis.cpp \
  55. algorithm/HierarchyWeighting.cpp \
  56. algorithm/MatterElementAnalysis.cpp \
  57. algorithm/MinMaxAnalysis.cpp \
  58. algorithm/PCA.cpp \
  59. algorithm/SetPairAnalysis.cpp \
  60. algorithm/ZScore.cpp \
  61. algorithm/test_main.cpp \
  62. common/DataEvaluator.cpp \
  63. common/EvalDataManager.cpp \
  64. common/ExpertManager.cpp \
  65. common/ExportReportManager.cpp \
  66. common/MindEvaluation.cpp \
  67. common/ProjectManager.cpp \
  68. common/QFDAlert.cpp \
  69. common/QFDConfig.cpp \
  70. common/QFDIcon.cpp \
  71. common/SchemePlanManager.cpp \
  72. main.cpp \
  73. view/AboutView.cpp \
  74. view/AlgorithmManageView.cpp \
  75. view/EvaluateView.cpp \
  76. view/ExpertManageView.cpp \
  77. view/HomeView.cpp \
  78. view/LoginView.cpp \
  79. view/MainWindow.cpp \
  80. view/PlotView.cpp \
  81. view/ProjectView.cpp \
  82. view/SettingView.cpp \
  83. view/StandardManageView.cpp \
  84. view/UserView.cpp \
  85. widgets/AppInfoWidget.cpp \
  86. widgets/ConfigExpertDataWidget.cpp \
  87. widgets/ConfigMeasureDataWidget.cpp \
  88. widgets/ConfigSchemeDataWidget.cpp \
  89. widgets/CreateProjWidget.cpp \
  90. widgets/CreateSchemeWidget.cpp \
  91. widgets/CustomPie.cpp \
  92. widgets/CustomPieChart.cpp \
  93. widgets/CustomTitleBar.cpp \
  94. widgets/DataCollectionWidget.cpp \
  95. widgets/DataProcessingWidget.cpp \
  96. widgets/DataTableItemDelegate.cpp \
  97. widgets/DataTableWidget.cpp \
  98. widgets/EditNodeWidget.cpp \
  99. widgets/EvalReportWidget.cpp \
  100. widgets/EvalSchemeWidget.cpp \
  101. widgets/EvalWidget.cpp \
  102. widgets/EvaluateOptionWidget.cpp \
  103. widgets/ExpertInfoWidget.cpp \
  104. widgets/ExpertListWidget.cpp \
  105. widgets/GreyClusteringConfigWidget.cpp \
  106. widgets/GreyClusteringItemDelegate.cpp \
  107. widgets/GreyClusteringSampleTable.cpp \
  108. widgets/ImportIndexWidget.cpp \
  109. widgets/IndexSystemWidget.cpp \
  110. widgets/LoginWidget.cpp \
  111. widgets/MatterElementConfigWidget.cpp \
  112. widgets/MatterElementItemDelegate.cpp \
  113. widgets/MixWithComboxInput.cpp \
  114. widgets/MultiLevelHeaderView.cpp \
  115. widgets/ProjectListWidget.cpp \
  116. widgets/ProjectStateWidget.cpp \
  117. widgets/RegisterWidget.cpp \
  118. widgets/RenameWidget.cpp \
  119. widgets/SchemeFlowWidget.cpp \
  120. widgets/SchemeOptionWidget.cpp \
  121. widgets/SchemePlanWidget.cpp \
  122. widgets/SchemeWidget.cpp
  123. HEADERS += \
  124. algorithm/AverageMethod.h \
  125. algorithm/ConsistencyCheck.h \
  126. algorithm/EntropyWeights.h \
  127. algorithm/GreyClusterEvaluation.h \
  128. algorithm/HierarchicalAnalysis.h \
  129. algorithm/HierarchyWeighting.h \
  130. algorithm/MatterElementAnalysis.h \
  131. algorithm/MinMaxAnalysis.h \
  132. algorithm/PCA.h \
  133. algorithm/SetPairAnalysis.h \
  134. algorithm/ZScore.h \
  135. common/DataEvaluator.h \
  136. common/EvalDataManager.h \
  137. common/ExpertManager.h \
  138. common/ExportReportManager.h \
  139. common/MindEvaluation.h \
  140. common/ProjectManager.h \
  141. common/QFDAlert.h \
  142. common/QFDConfig.h \
  143. common/QFDIcon.h \
  144. common/SchemePlanManager.h \
  145. view/AboutView.h \
  146. view/AlgorithmManageView.h \
  147. view/EvaluateView.h \
  148. view/ExpertManageView.h \
  149. view/HomeView.h \
  150. view/LoginView.h \
  151. view/MainWindow.h \
  152. view/PlotView.h \
  153. view/ProjectView.h \
  154. view/SettingView.h \
  155. view/StandardManageView.h \
  156. view/UserView.h \
  157. widgets/AppInfoWidget.h \
  158. widgets/ConfigExpertDataWidget.h \
  159. widgets/ConfigMeasureDataWidget.h \
  160. widgets/ConfigSchemeDataWidget.h \
  161. widgets/CreateProjWidget.h \
  162. widgets/CreateSchemeWidget.h \
  163. widgets/CustomPie.h \
  164. widgets/CustomPieChart.h \
  165. widgets/CustomTitleBar.h \
  166. widgets/DataCollectionWidget.h \
  167. widgets/DataProcessingWidget.h \
  168. widgets/DataTableItemDelegate.h \
  169. widgets/DataTableWidget.h \
  170. widgets/EditNodeWidget.h \
  171. widgets/EvalReportWidget.h \
  172. widgets/EvalSchemeWidget.h \
  173. widgets/EvalWidget.h \
  174. widgets/EvaluateOptionWidget.h \
  175. widgets/ExpertInfoWidget.h \
  176. widgets/ExpertListWidget.h \
  177. widgets/GreyClusteringConfigWidget.h \
  178. widgets/GreyClusteringItemDelegate.h \
  179. widgets/GreyClusteringSampleTable.h \
  180. widgets/ImportIndexWidget.h \
  181. widgets/IndexSystemWidget.h \
  182. widgets/LoginWidget.h \
  183. widgets/MatterElementConfigWidget.h \
  184. widgets/MatterElementItemDelegate.h \
  185. widgets/MixWithComboxInput.h \
  186. widgets/MultiLevelHeaderView.h \
  187. widgets/ProjectListWidget.h \
  188. widgets/ProjectStateWidget.h \
  189. widgets/RegisterWidget.h \
  190. widgets/RenameWidget.h \
  191. widgets/SchemeFlowWidget.h \
  192. widgets/SchemeOptionWidget.h \
  193. widgets/SchemePlanWidget.h \
  194. widgets/SchemeWidget.h
  195. include(./CCanvas/CCanvas.pri)
  196. #include(./shemeTable/shemeTable.pri)
  197. include(./QtAwesome/QtAwesome.pri)
  198. include(./EasyQtSql/EasyQtSql.pri)
  199. include(./dbService/dbService.pri)
  200. include(./helper/helper.pri)
  201. include(./QXlsx-1.4.3/QXlsx.pri)
  202. include(./qcustomplot/qcustomplot.pri)
  203. include(./shemeFlow/shemeFlow.pri)
  204. INCLUDEPATH += helper \
  205. # Default rules for deployment.
  206. qnx: target.path = /tmp/$${TARGET}/bin
  207. else: unix:!android: target.path = /opt/$${TARGET}/bin
  208. !isEmpty(target.path): INSTALLS += target
  209. RESOURCES += \
  210. resource.qrc
  211. FORMS += \
  212. widgets/GreyClusteringConfigWidget.ui \
  213. widgets/MatterElementConfigWidget.ui
  214. VERSION = "2.1.2.1"
  215. DISTFILES +=