[Interest] Qt 5.3.0 QML Android: how to deploy custom c++ plugin directory structure
Frédéric Martinsons
frederic.martinsons at sigfox.com
Sun May 25 07:58:03 CEST 2014
I'm not sure to understand completely. You reproduce the directory
structure after the build phase of your plugin in the qrc, build it
manually and copy it to the android data dir ? Or you simply embed an
archive of the directory and extract it on the first run at the right place
?
Le 25 mai 2014 07:20, "Preet" <prismatic.project at gmail.com> a écrit :
> >> Have you any hints to give me to get everything works. I managed to
> launch
> >> my application by reproducing the directory structure on the target with
> >> "adb shell mkdir and adb push) after the APK install but it's very ugly
> and
> >> I would to have a self contained APK.
>
> I worked around this by embedding the plugin *.so as a resource file
> and extracting it to the device's application data directory on first
> run. It's not pretty but its easy to do. I had to add a couple of
> system calls in my pro files to be able to build my project in one go
> (I had to copy the QRC file to the build directory where plugins were
> and include that version in my project).
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140525/74ed2d1f/attachment.html>
More information about the Interest
mailing list