Use propper target name on Android

This commit is contained in:
Martin Tůma 2023-12-15 21:21:10 +01:00
parent 733375fb74
commit f064148a0f

View File

@ -42,6 +42,9 @@ DEFINES += QT_NO_DEPRECATED_WARNINGS
unix:!macx:!android { unix:!macx:!android {
LIBS += -lprotobuf-lite \ LIBS += -lprotobuf-lite \
-lz -lz
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target
} }
win32 { win32 {
INCLUDEPATH += $$PROTOBUF/include \ INCLUDEPATH += $$PROTOBUF/include \
@ -62,7 +65,7 @@ android {
INCLUDEPATH += $$PROTOBUF/include INCLUDEPATH += $$PROTOBUF/include
LIBS += $$PROTOBUF/$$ANDROID_TARGET_ARCH/libprotobuf-lite.a \ LIBS += $$PROTOBUF/$$ANDROID_TARGET_ARCH/libprotobuf-lite.a \
-lz -lz
}
target.path += $$[QT_INSTALL_PLUGINS]/imageformats DESTDIR = $$top_builddir/plugins/pbf
INSTALLS += target TARGET = $$qt5LibraryTarget(pbf, "plugins/imageformats/")
}