add lib and include for libexif on mac

This commit is contained in:
Manuel Dewald
2020-02-14 23:13:34 +01:00
parent d21677399d
commit 605c04fca3
2 changed files with 17 additions and 0 deletions

View File

@@ -46,3 +46,16 @@ qmake ../src/slide.pro
make make
sudo make install sudo make install
``` ```
### macOS
Prerequisite: brew
```
brew install qt5
brew install libexif
mkdir -p build
cd build
qmake ../src/slide.pro
make
```

View File

@@ -22,6 +22,10 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also select to disable deprecated APIs only up to a certain version of Qt. # 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 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
mac: INCLUDEPATH += $$system(brew --prefix libexif)/include/
mac: QMAKE_LFLAGS += -L$$system(brew --prefix libexif)/lib
SOURCES += \ SOURCES += \
main.cpp \ main.cpp \