QFD.pro 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. algorithm/EntropyWeights.cpp \
  47. algorithm/GreyClusterEvaluation.cpp \
  48. algorithm/HierarchicalAnalysis.cpp \
  49. algorithm/HierarchyWeighting.cpp \
  50. algorithm/MatterElementAnalysis.cpp \
  51. algorithm/SetPairAnalysis.cpp \
  52. algorithm/test_main.cpp \
  53. common/ExpertManager.cpp \
  54. common/ProjectManager.cpp \
  55. common/QFDAlert.cpp \
  56. common/QFDConfig.cpp \
  57. common/QFDIcon.cpp \
  58. main.cpp \
  59. view/AboutView.cpp \
  60. view/EvaluateView.cpp \
  61. view/ExpertManageView.cpp \
  62. view/HomeView.cpp \
  63. view/LoginView.cpp \
  64. view/MainWindow.cpp \
  65. view/ProjectView.cpp \
  66. view/SettingView.cpp \
  67. view/UserView.cpp \
  68. widgets/AddSchemeWidget.cpp \
  69. widgets/AppInfoWidget.cpp \
  70. widgets/ConfigExpertWidget.cpp \
  71. widgets/CreateProjWidget.cpp \
  72. widgets/CustomTitleBar.cpp \
  73. widgets/DataCollectionWidget.cpp \
  74. widgets/DataProcessingWidget.cpp \
  75. widgets/EvalSchemeWidget.cpp \
  76. widgets/EvalWidget.cpp \
  77. widgets/EvaluateOptionWidget.cpp \
  78. widgets/ExpertInfoWidget.cpp \
  79. widgets/ExpertListWidget.cpp \
  80. widgets/IndexSystemWidget.cpp \
  81. widgets/LoginWidget.cpp \
  82. widgets/ProjectListWidget.cpp \
  83. widgets/ProjectStateWidget.cpp \
  84. widgets/RegisterWidget.cpp \
  85. widgets/RenameWidget.cpp \
  86. widgets/SchemeOptionWidget.cpp \
  87. widgets/SchemeWidget.cpp
  88. HEADERS += \
  89. algorithm/EntropyWeights.h \
  90. algorithm/GreyClusterEvaluation.h \
  91. algorithm/HierarchicalAnalysis.h \
  92. algorithm/HierarchyWeighting.h \
  93. algorithm/MatterElementAnalysis.h \
  94. algorithm/SetPairAnalysis.h \
  95. common/ExpertManager.h \
  96. common/ProjectManager.h \
  97. common/QFDAlert.h \
  98. common/QFDConfig.h \
  99. common/QFDIcon.h \
  100. view/AboutView.h \
  101. view/EvaluateView.h \
  102. view/ExpertManageView.h \
  103. view/HomeView.h \
  104. view/LoginView.h \
  105. view/MainWindow.h \
  106. view/ProjectView.h \
  107. view/SettingView.h \
  108. view/UserView.h \
  109. widgets/AddSchemeWidget.h \
  110. widgets/AppInfoWidget.h \
  111. widgets/ConfigExpertWidget.h \
  112. widgets/CreateProjWidget.h \
  113. widgets/CustomTitleBar.h \
  114. widgets/DataCollectionWidget.h \
  115. widgets/DataProcessingWidget.h \
  116. widgets/EvalSchemeWidget.h \
  117. widgets/EvalWidget.h \
  118. widgets/EvaluateOptionWidget.h \
  119. widgets/ExpertInfoWidget.h \
  120. widgets/ExpertListWidget.h \
  121. widgets/IndexSystemWidget.h \
  122. widgets/LoginWidget.h \
  123. widgets/ProjectListWidget.h \
  124. widgets/ProjectStateWidget.h \
  125. widgets/RegisterWidget.h \
  126. widgets/RenameWidget.h \
  127. widgets/SchemeOptionWidget.h \
  128. widgets/SchemeWidget.h
  129. include(./mindmap/mindmap.pri)
  130. include(./CCanvas/CCanvas.pri)
  131. include(./shemeTable/shemeTable.pri)
  132. include(./QtAwesome/QtAwesome.pri)
  133. include(./EasyQtSql/EasyQtSql.pri)
  134. include(./dbService/dbService.pri)
  135. include(./helper/helper.pri)
  136. include(./QFDWidget/QFDWidget.pri)
  137. include(./QXlsx-1.4.3/QXlsx.pri)
  138. include(./qcustomplot/qcustomplot.pri)
  139. INCLUDEPATH += mindmap/ \
  140. shemeTable/ \
  141. helper \
  142. # Default rules for deployment.
  143. qnx: target.path = /tmp/$${TARGET}/bin
  144. else: unix:!android: target.path = /opt/$${TARGET}/bin
  145. !isEmpty(target.path): INSTALLS += target
  146. RESOURCES += \
  147. resource.qrc
  148. FORMS +=
  149. VERSION = "2.1.2.1"
  150. DISTFILES +=