On Wednesday 30 December 2015 23:05:02 Jason H wrote:
> I'm trying to use a library that uses std::strings. However when the string
> is assigned, I get a crash at 0xdeadcab1 (see
> https://android.googlesource.com/platform/ndk/+/bfa632c/sources/cxx-stl/gab
> i++/src/terminate.cc#52)

That's the std::terminate's default handler. That handler is called when an 
exception is thrown but not caught. What exception was thrown? Can you put a 
catch block to see what it was?

> My .pro android block:
> android {
>       QT += androidextras
>       LIBS +=
> -L/Users/jhihn/Downloads/android-ndk-r10e/platforms/android-9/arch-arm/usr/
> lib/ -lstlport_shared 

Why are you using stlport? Can't you use libstdc++ like everyone else does? 
For that matter, didn't I read a day or two ago that Android had switched the 
NDK to Clang/LLVM, so libc++ should be the one people would use?

>     LDLIBS += -l -lc -lm -ldl -lgcc

This line does nothing.

>       ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
>       ANDROID_EXTRA_LIBS +=
> /Users/jhihn/Downloads/android-ndk-r10e/sources/cxx-stl/stlport/libs/armeab
> i-v7a/libstlport_shared.so }

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to