STL on android
-
wrote on 13 Mar 2014, 08:15 last edited by
Hi,
I'm trying to compile a Qt project for adroid against a library that uses STL. Linking fails due to STL symbols not being found. Googling around I found that this could be overcome by defining following in Android.mk:
APP_STL := stlport_static
APP_CPPFLAGS += -fexceptionsIs there some way replicate this using qt and qmake?
-
wrote on 13 Mar 2014, 12:40 last edited by
As a temporary solution, I manually linked against the libstlport_static.a library but this of course breaks if a different target arch is selected or something changes in android ndk paths.
So, proper solution still welcome.
1/2