QT += core gui sql concurrent xml svg win32: { QT += winextras axcontainer } greaterThan(QT_MAJOR_VERSION, 4): QT += widgets *g++*: { QMAKE_CXXFLAGS_RELEASE -= -O QMAKE_CXXFLAGS_RELEASE *= -O3 } *msvc*: { QMAKE_CFLAGS += /utf-8 QMAKE_CXXFLAGS += /utf-8 QMAKE_CXXFLAGS_RELEASE -= /O QMAKE_CXXFLAGS_RELEASE *= /O2 } CONFIG += c++14 INCLUDEPATH += $$PWD/../QFluentWidgets CONFIG(debug, release|debug){ win32:LIBS += -lqfluentwidgetsd else: LIBS += -lqfluentwidgets } else { LIBS += -lqfluentwidgets } #------------------------------------------------------------------------------- # Build options #------------------------------------------------------------------------------- DESTDIR = $$PWD/../bin #指定生成的应用程序放置的路径 LIBS += -L$$PWD/../bin #指定生成的库文件放置的路径,与应用程序放在一起 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 include($$PWD/../QFD/CCanvas/CCanvas.pri) include($$PWD/../QFD/QtAwesome/QtAwesome.pri) include($$PWD/../QFD/EasyQtSql/EasyQtSql.pri) include($$PWD/../QFD/dbService/dbService.pri) include($$PWD/../QFD/helper/helper.pri) include($$PWD/../QFD/QXlsx-1.4.3/QXlsx.pri) INCLUDEPATH += $$PWD/../QFD/shemeTable/ \ $$PWD/../QFD/helper \ $$PWD/../QFD/ # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target VERSION = "2.1.2.1" SOURCES += \ EXConfig.cpp \ EXDataTableView.cpp \ EXDataView.cpp \ EXDataViewDelegate.cpp \ EXEvalView.cpp \ EXIndexView.cpp \ EXLoginWidget.cpp \ EXProjectView.cpp \ MainWindow.cpp \ ProjectManager.cpp \ SchemePlanManager.cpp \ main.cpp FORMS += \ MainWindow.ui HEADERS += \ EXConfig.h \ EXDataTableView.h \ EXDataView.h \ EXDataViewDelegate.h \ EXEvalView.h \ EXIndexView.h \ EXLoginWidget.h \ EXProjectView.h \ MainWindow.h \ ProjectManager.h \ SchemePlanManager.h RESOURCES += \ $$PWD/../QFD/resource.qrc