mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Added support for OS X
This commit is contained in:
parent
96fbd7329d
commit
f8d5a9b6cd
@ -33,7 +33,7 @@ SOURCES += src/pbfplugin.cpp \
|
|||||||
src/font.cpp
|
src/font.cpp
|
||||||
RESOURCES += pbfplugin.qrc
|
RESOURCES += pbfplugin.qrc
|
||||||
|
|
||||||
unix {
|
unix:!macx{
|
||||||
LIBS += -lprotobuf-lite \
|
LIBS += -lprotobuf-lite \
|
||||||
-lz
|
-lz
|
||||||
}
|
}
|
||||||
@ -43,6 +43,11 @@ win32 {
|
|||||||
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
|
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
|
||||||
$$ZLIB/lib/zlibstatic.lib
|
$$ZLIB/lib/zlibstatic.lib
|
||||||
}
|
}
|
||||||
|
macx {
|
||||||
|
INCLUDEPATH += $$PROTOBUF/include
|
||||||
|
LIBS += $$PROTOBUF/lib/libprotobuf-lite.a \
|
||||||
|
-lz
|
||||||
|
}
|
||||||
|
|
||||||
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
|
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
Loading…
Reference in New Issue
Block a user