mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-06-29 20:49:18 +02:00
Added Google Protocol Buffers to Android build
This commit is contained in:
@ -39,7 +39,7 @@ RESOURCES += pbfplugin.qrc
|
||||
|
||||
DEFINES += QT_NO_DEPRECATED_WARNINGS
|
||||
|
||||
unix:!macx{
|
||||
unix:!macx:!android {
|
||||
LIBS += -lprotobuf-lite \
|
||||
-lz
|
||||
}
|
||||
@ -58,6 +58,11 @@ macx {
|
||||
LIBS += $$PROTOBUF/lib/libprotobuf-lite.a \
|
||||
-lz
|
||||
}
|
||||
android {
|
||||
INCLUDEPATH += $$PROTOBUF/include
|
||||
LIBS += $$PROTOBUF/$$ANDROID_TARGET_ARCH/libprotobuf-lite.a \
|
||||
-lz
|
||||
}
|
||||
|
||||
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
|
||||
INSTALLS += target
|
||||
|
Reference in New Issue
Block a user