add macos config

This commit is contained in:
chenyining02
2022-01-26 14:05:09 +08:00
parent 007c4f0e92
commit 60a05f1230
3 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -34,3 +34,4 @@
*.DS_Store
/src/build-eda_qt-Desktop_Qt_5_12_1_MinGW_64_bit-Debug
/src/build-eda_qt-Desktop_Qt_5_12_2_MinGW_64_bit-Debug
/src/build-eda_qt-Qt_6_2_2_for_macOS-Debug

BIN
src/.DS_Store vendored

Binary file not shown.

View File

@ -11,7 +11,10 @@ CONFIG += c++11
# 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
LIBS += -L$$PWD -lqscintilla2_qt5
#Windows
#LIBS += -L$$PWD -lqscintilla2_qt5
#Macos
LIBS+= "$$PWD/../../libs/macos/libqscintilla2_qt6.15.1.0.dylib"
RC_ICONS = icon.ico
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.