I'm trying to load the plugins platforms libqtforandroid.so dynamically in my Android app without using QtCreator and all its environment.
I loaded :
But when I'm calling :
I'm getting the "qt start" message and then a SIGSEGV... (libplugins_platforms_android_libqtforandroid.so (JNI_OnLoad+322))
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
Do I need to preconfigure something before loading the library?
Thanks in a advance
Hi and welcome to devnet,
Not a direct answer, but why are you trying to do by hand what Qt does for you automatically ?
I would like to use only the core of Qt to have a shared model but a native UI and native development environment for each app (Desktop, iOS, Android)
I did it for iOS and for Desktop (I use QtCreator for this one) but when I try to use directly the libraries for Android it crash. I have to use the QtApplication and QtActivity + the activity definition in the AndroidManifest.xml.
Then you should rather ask this on the Android-development mailing list, you'll find Qt's android port developers/maintainers (this forum is more user oriented)
Ok thanks, I did it.