#------------------------------------------------- # # Project created by QtCreator 2020-11-18T10:59:17 # #------------------------------------------------- QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat CONFIG += c++11 QMAKE_CXXFLAGS += -std=c++11 DESTDIR += $$PWD/bin/ TARGET = ResistanceMatcher TEMPLATE = app # The following define makes your compiler emit warnings if you use # any feature of Qt which has been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if you use deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 INCLUDEPATH += $$PWD\3rd\QXlsx\include SOURCES += \ main.cpp \ mainwindow.cpp \ Frameless_Helper.cpp \ FrmMessageBox.cpp \ StatusFrame.cpp \ GuiInvoker.cpp \ XlsxWrapper.cpp \ HEADERS += \ mainwindow.h \ Frameless_Helper.h \ FrmMessageBox.h \ StatusFrame.h \ GuiInvoker.h \ XlsxWrapper.h \ FORMS += \ mainwindow.ui \ FrmMessageBox.ui \ StatusFrame.ui \ RESOURCES += \ images.qrc win32{ contains(DEFINES,WIN64){ win32:CONFIG(release, debug|release): LIBS += -L$$PWD/3rd/QXlsx/lib/ -lQXlsx_x64 else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/3rd/QXlsx/lib/ -lQXlsx_x64d }else{ win32:CONFIG(release, debug|release): LIBS += -L$$PWD/3rd/QXlsx/lib/ -lQXlsx_x86 else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/3rd/QXlsx/lib/ -lQXlsx_x86d } } #文件采用utf-8编码 msvc { QMAKE_CFLAGS += /utf-8 QMAKE_CXXFLAGS += /utf-8 } # exe所带图标 RC_ICONS = skin/ico/Guide.ico #include($$PWD/AsioWrapper/AsioWrapper.pri)