QT -= gui QT += concurrent sql CONFIG += c++11 console CONFIG -= app_bundle CONFIG += file_copies include(Config.pri) # 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 DESTDIR = $$BIN_DIR SOURCES += \ main.cpp include($$CORE_DIR/Core.pri) include($$CTRL_DIR/Controller.pri) include($$SVR_DIR/Service.pri) include($$ENTITY_DIR/Entity.pri) include($$DAO_DIR/Repository.pri) include($$THIRD_DIR/ThirdParty.pri) include($$UTIL_DIR/Util.pri) # 拷贝配置文件 conf.files = $$CONFIG_DIR conf.path = $$DESTDIR COPIES += conf DISTFILES += $$CONFIG_DIR/application.ini # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target