#				SBT专用请不要随意修改
#							修改请找 :JonYang

QT       += core gui sql charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

#LIBS += -L"D:\qt\Interface_1.1" -lInterface
# LIBS += -L"C:\Users\David\Desktop\Interface_1.1" -lInterface

# 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


# SOURCES += $$files(src/*.cpp, $$PWD)
# HEADERS += $$files(include/*.h, $$PWD)


SOURCES += $$files(*.cpp, $$PWD) \
    Src/RewriteControl/MsgDlg/CustomMessageDlg.cpp
HEADERS += $$files(*.h, $$PWD) \
    Src/RewriteControl/MsgDlg/CustomMessageDlg.h
FORMS   += $$files(*.ui, $$PWD) \
    Src/RewriteControl/MsgDlg/CustomMessageDlg.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    configurations.db \
    dark.qss

RESOURCES += \
    res.qrc

QMAKE_PROJECT_DEPTH = 0
win32-msvc*: {
    QMAKE_CFLAGS *= /utf-8
    QMAKE_CXXFLAGS *= /utf-8
}