QFD.pro 6.6 KB

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