QFD.pro 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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++14
  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/ExpertManager.cpp \
  62. common/ProjectManager.cpp \
  63. common/QFDAlert.cpp \
  64. common/QFDConfig.cpp \
  65. common/QFDIcon.cpp \
  66. main.cpp \
  67. view/AboutView.cpp \
  68. view/EvaluateView.cpp \
  69. view/ExpertManageView.cpp \
  70. view/HomeView.cpp \
  71. view/LoginView.cpp \
  72. view/MainWindow.cpp \
  73. view/PlotView.cpp \
  74. view/ProjectView.cpp \
  75. view/SettingView.cpp \
  76. view/UserView.cpp \
  77. widgets/AddSchemeWidget.cpp \
  78. widgets/AppInfoWidget.cpp \
  79. widgets/ConfigExpertWidget.cpp \
  80. widgets/CreateProjWidget.cpp \
  81. widgets/CustomPie.cpp \
  82. widgets/CustomPieChart.cpp \
  83. widgets/CustomTitleBar.cpp \
  84. widgets/DataCollectionWidget.cpp \
  85. widgets/DataProcessingWidget.cpp \
  86. widgets/DataTableWidget.cpp \
  87. widgets/EditNodeWidget.cpp \
  88. widgets/EvalSchemeWidget.cpp \
  89. widgets/EvalSchemeWidget2.cpp \
  90. widgets/EvalWidget.cpp \
  91. widgets/EvaluateOptionWidget.cpp \
  92. widgets/ExpertInfoWidget.cpp \
  93. widgets/ExpertListWidget.cpp \
  94. widgets/IndexSystemWidget.cpp \
  95. widgets/LoginWidget.cpp \
  96. widgets/ProjectListWidget.cpp \
  97. widgets/ProjectStateWidget.cpp \
  98. widgets/RegisterWidget.cpp \
  99. widgets/RenameWidget.cpp \
  100. widgets/SchemeOptionWidget.cpp \
  101. widgets/SchemeWidget.cpp
  102. HEADERS += \
  103. algorithm/AverageMethod.h \
  104. algorithm/ConsistencyCheck.h \
  105. algorithm/EntropyWeights.h \
  106. algorithm/GreyClusterEvaluation.h \
  107. algorithm/HierarchicalAnalysis.h \
  108. algorithm/HierarchyWeighting.h \
  109. algorithm/MatterElementAnalysis.h \
  110. algorithm/MinMaxAnalysis.h \
  111. algorithm/PCA.h \
  112. algorithm/SetPairAnalysis.h \
  113. algorithm/ZScore.h \
  114. common/ExpertManager.h \
  115. common/ProjectManager.h \
  116. common/QFDAlert.h \
  117. common/QFDConfig.h \
  118. common/QFDIcon.h \
  119. view/AboutView.h \
  120. view/EvaluateView.h \
  121. view/ExpertManageView.h \
  122. view/HomeView.h \
  123. view/LoginView.h \
  124. view/MainWindow.h \
  125. view/PlotView.h \
  126. view/ProjectView.h \
  127. view/SettingView.h \
  128. view/UserView.h \
  129. widgets/AddSchemeWidget.h \
  130. widgets/AppInfoWidget.h \
  131. widgets/ConfigExpertWidget.h \
  132. widgets/CreateProjWidget.h \
  133. widgets/CustomPie.h \
  134. widgets/CustomPieChart.h \
  135. widgets/CustomTitleBar.h \
  136. widgets/DataCollectionWidget.h \
  137. widgets/DataProcessingWidget.h \
  138. widgets/DataTableWidget.h \
  139. widgets/EditNodeWidget.h \
  140. widgets/EvalSchemeWidget.h \
  141. widgets/EvalSchemeWidget2.h \
  142. widgets/EvalWidget.h \
  143. widgets/EvaluateOptionWidget.h \
  144. widgets/ExpertInfoWidget.h \
  145. widgets/ExpertListWidget.h \
  146. widgets/IndexSystemWidget.h \
  147. widgets/LoginWidget.h \
  148. widgets/ProjectListWidget.h \
  149. widgets/ProjectStateWidget.h \
  150. widgets/RegisterWidget.h \
  151. widgets/RenameWidget.h \
  152. widgets/SchemeOptionWidget.h \
  153. widgets/SchemeWidget.h
  154. include(./CCanvas/CCanvas.pri)
  155. include(./shemeTable/shemeTable.pri)
  156. include(./QtAwesome/QtAwesome.pri)
  157. include(./EasyQtSql/EasyQtSql.pri)
  158. include(./dbService/dbService.pri)
  159. include(./helper/helper.pri)
  160. include(./QXlsx-1.4.3/QXlsx.pri)
  161. include(./qcustomplot/qcustomplot.pri)
  162. include(./shemeFlow/shemeFlow.pri)
  163. INCLUDEPATH += mindmap/ \
  164. shemeTable/ \
  165. helper \
  166. # Default rules for deployment.
  167. qnx: target.path = /tmp/$${TARGET}/bin
  168. else: unix:!android: target.path = /opt/$${TARGET}/bin
  169. !isEmpty(target.path): INSTALLS += target
  170. RESOURCES += \
  171. resource.qrc
  172. FORMS +=
  173. VERSION = "2.1.2.1"
  174. DISTFILES +=