Deploying custom plugins to Android
-
Hello,
New to Qt, but have been creating an app while I learn. Everything has gone pretty well until now...
I went through the "Charts" tutorial concerning creating a C++ plugin. I was able to successfully create the plugin and build/run it on the desktop (linux).
I then created my own C++ plugin, which also worked correctly in my desktop application.
The next step was to try creating an Android x86 version of the app. I recompiled my C++ plugin for Android, added it to my project and built/deployed the app to the target (AVD running API 18).
I received a Qt error indicating that my module was not installed.
I went back to the chapter6 plugin tutorial (Charts), and reconfigured it for Android x86. It also failed with the same type of error 'module "Charts" is not installed'. To reiterate, it works perfectly as a desktop app.
In both cases, I verified that the plugin was included in the APK and that it was installed on the target via adb shell.
Apparently, the method used for using C++ plugins with Android Qt apps is different than when creating desktop apps.
Can anyone shed some light on what the solution is for getting a custom C++ plugin working with a Qt Android app?
I am using Qt 5.3.1, GCC 4.6.1, 64-bit for Linux with the Android Kit installed. I can create and run my own QML apps just fine under Android, it is only when I try adding a C++ plugin that I get failures (including the example tutorial mentioned above).
Thx,
-k
-
Is there a better, more appropriate forum for getting support?
Thx,
-k
-
Hi and welcome to devnet,
Please allow 24 to 72 hours before bumping your own thread not all people active on this forum lives in the same timezone as you.
That said, you can also try the #qt irc channel and the interest mailing list
-
Thanks for the response. Any chance you can respond to my first question?
I would think it would be something that arrises often, with a possible work around from experienced developers.
Thx,
-k