Added support for OS X

This commit is contained in:
Tumic 2018-11-11 19:28:22 +01:00
parent 96fbd7329d
commit f8d5a9b6cd

View File

@ -33,7 +33,7 @@ SOURCES += src/pbfplugin.cpp \
src/font.cpp
RESOURCES += pbfplugin.qrc
unix {
unix:!macx{
LIBS += -lprotobuf-lite \
-lz
}
@ -43,6 +43,11 @@ win32 {
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
$$ZLIB/lib/zlibstatic.lib
}
macx {
INCLUDEPATH += $$PROTOBUF/include
LIBS += $$PROTOBUF/lib/libprotobuf-lite.a \
-lz
}
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target