Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. STL on android
Qt 6.11 is out! See what's new in the release blog

STL on android

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    m1gu
    wrote on last edited by
    #1

    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 += -fexceptions

    Is there some way replicate this using qt and qmake?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      m1gu
      wrote on last edited by
      #2

      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 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved