Hi,
our project uses our internal qml plugin. If we put plugin binary nad qmldir file manually inside Felgo/Felgo/android/qml/Medrepo and build APK in QtCreator all works as expected and qml library together with Felgo project binary (as .so) are inside /lib/x86. qmldir is inside /assets/–Added-by-androiddeployqt–/qml/…
Now we trying to build Android and iOS packages using Felgo CI/CD server. We have qml plugin binary inside git repositotry, but how to copy it inside Felgo installation? I tried to put it this way:
android {
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
OTHER_FILES += android/AndroidManifest.xml \
android/build.gradle
equals(ANDROID_TARGET_ARCH, arm64-v8a) {
ANDROID_EXTRA_LIBS += \
$$PWD/../../../deploy_android/arm64/libwebsockets.so \
$$PWD/../../../deploy_android/arm64/libjasca.so \
$$PWD/../../../deploy_android/arm64/libjasca_qml_plugin.so
}
}
where libjasca_qml_plugin.so
is the required QML plugin. It gets deployed inside /lib/arm64-v8a, but app still crashes and I think it’s missing qmldir file. I cannot put it in ANDROID_EXTRA_LIBS.
Since on Felgo CI/CD server I cannot manually copy files, the only possibility is to do all deployment with qmake (inside .pro file).
What is the proper way to deploy QML plugin on Android and iOS?