ExpertClient.pro 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. INCLUDEPATH += $$PWD/../QFluentWidgets
  18. CONFIG(debug, release|debug){
  19. win32:LIBS += -lqfluentwidgetsd
  20. else: LIBS += -lqfluentwidgets
  21. } else {
  22. LIBS += -lqfluentwidgets
  23. }
  24. #-------------------------------------------------------------------------------
  25. # Build options
  26. #-------------------------------------------------------------------------------
  27. DESTDIR = $$PWD/../bin #指定生成的应用程序放置的路径
  28. LIBS += -L$$PWD/../bin #指定生成的库文件放置的路径,与应用程序放在一起
  29. # You can make your code fail to compile if it uses deprecated APIs.
  30. # In order to do so, uncomment the following line.
  31. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  32. include($$PWD/../QFD/CCanvas/CCanvas.pri)
  33. include($$PWD/../QFD/QtAwesome/QtAwesome.pri)
  34. include($$PWD/../QFD/EasyQtSql/EasyQtSql.pri)
  35. include($$PWD/../QFD/dbService/dbService.pri)
  36. include($$PWD/../QFD/helper/helper.pri)
  37. include($$PWD/../QFD/QXlsx-1.4.3/QXlsx.pri)
  38. INCLUDEPATH += $$PWD/../QFD/shemeTable/ \
  39. $$PWD/../QFD/helper \
  40. $$PWD/../QFD/
  41. # Default rules for deployment.
  42. qnx: target.path = /tmp/$${TARGET}/bin
  43. else: unix:!android: target.path = /opt/$${TARGET}/bin
  44. !isEmpty(target.path): INSTALLS += target
  45. VERSION = "2.1.2.1"
  46. SOURCES += \
  47. EXConfig.cpp \
  48. EXDataTableView.cpp \
  49. EXDataView.cpp \
  50. EXDataViewDelegate.cpp \
  51. EXEvalView.cpp \
  52. EXIndexView.cpp \
  53. EXLoginWidget.cpp \
  54. EXProjectView.cpp \
  55. MainWindow.cpp \
  56. ProjectManager.cpp \
  57. SchemePlanManager.cpp \
  58. main.cpp
  59. FORMS += \
  60. MainWindow.ui
  61. HEADERS += \
  62. EXConfig.h \
  63. EXDataTableView.h \
  64. EXDataView.h \
  65. EXDataViewDelegate.h \
  66. EXEvalView.h \
  67. EXIndexView.h \
  68. EXLoginWidget.h \
  69. EXProjectView.h \
  70. MainWindow.h \
  71. ProjectManager.h \
  72. SchemePlanManager.h
  73. RESOURCES += \
  74. $$PWD/../QFD/resource.qrc