Unsolved Qt on Android failed: dlopen failed: empty/missing DT_HASH in "libsuperapp_base.so" (built with --hash-style=gnu?)
-
I used the libsuperapp_base.so in the project.After the success of the compiler, runtime errors:
E/dalvikvm(12322): dlopen("/data/data/com.findjob.ydyffffff/superApp_lib/libsuperapp_base.so") failed: dlopen failed: empty/missing DT_HASH in "libsuperapp_base.so" (built with --hash-style=gnu?)
E/superapp_cscomm(12322): load superapp_base.so failed :How can i deal with it?
-
@reboot
I know this is an old post, but this answer may helps somebody.add the following option to your .pro file:
QMAKE_CFLAGS += -Wl,--hash-style=sysv