Is there any gui way to add runtime dependant plugins and qmls to android resources under bundled_in_assets in libs.xml
The main challenge is to port the qt3d-editor project to android.
I want to add almost all qt plugins and qmls into an android port of a qt app
I've found that androiddeployqt cannot guess all runtime dependencies, so I must add them in android resources.
According to the documents, those should be added in android template packege, in libs.xml under bundled_in_assets section.
any help is appreciated.
after hours of searching and testing various suggestions, we found that androiddeployqt doesn't search in libraries for qml imports, seems it just searches the directory of app's standalone.pro file. so a some hackish suggest was to make a symlink to "../editorlib/qml" and the other one was to make a qml file in app's standalone.pro directory and import all qml modules in that file.
import QtQuick 2.5
import QtQuick.Window 2.2
import QtQuick.Layouts 1.2
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
we chose the first one and made the symlink.
for having necessary libs in android apk adding next line to standalone.pro solved missing dependant libs in android.
QT += qml quick widgets 3dcore 3drender 3dextras 3dinput 3dlogic 3dquick 3drender-private core
and the app ran on android like a charm.
also bonus point is that there is no need to create android template in project, no manifest editing or etc..