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

    • Android
    • 2022wk52FOQtforAndroid

    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

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes