Android App include Qt project (.so) without using QtCreate

67 views
Skip to first unread message

park

unread,
Jul 11, 2017, 11:19:07 PM7/11/17
to android-qt
Hi

I'm trying to load the plugins platforms libqtforandroid.so dynamically in Android Studio

static {
 System.loadLibrary("gnustl_shared");
 System.loadLibrary("Qt5Core");
 System.loadLibrary("Qt5Gui");
 System.loadLibrary("Qt5Widgets");
 System.loadLibrary("Qt5Network");
 ....
}

But when I'm calling :

System.loadLibrary("plugins_platforms_android_libqtforandroid");

I'm getting the "qt start" message and then a SIGSEGV... (libplugins_platforms_android_libqtforandroid.so (JNI_OnLoad+462))
 
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

Do I need to preconfigure something before loading the library?

thank you
Reply all
Reply to author
Forward
0 new messages