Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99247

Application that is built using Android NDK version 21 doesn't work with Qt that is build using Android NDK version 23

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.3
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      Android

      Description

      It looks like libraries in android NDK are not compatible with each other and we need to track which version of NDK was used to build Qt for Android when building user's applications, to avoid runtime linking errors.

      I got the following error when running Android application that is built using NDK version r21d and uses Qt for Android that is build using NDK r23b:

      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~cE40wu4mwJ3O5MWlid3tLA==/org.qtproject.example.qt_add_qml_module_test-WXOgXjaaZaRDIyYd7W7UEQ==/lib/x86_64/libQt6Core_x86_64.so"...
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            semlanik Alexey Edelev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes