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

Error in 64bit lib file path names

XMLWordPrintable

    • Android
    • 952a78500 (dev), 93ce4ad5f (dev), 02a7b714b (6.10), 1c521c65c (6.10), 1c55efdc7 (6.9), 86aefbc0a (6.9), 9314b9237 (tqtc/lts-6.8), f85b4af42 (tqtc/lts-6.8)
    • 2021wk06, 2021wk08PO2, 2025wk30s2QtforAndroid, 2025wk32s2QtforAndroid

      When producing an .aab files, compilation is successfull however when uploading the .aab to google and downloading on a 64 bit device the app crashes on startup.

      At first I stumbled upon this with my own app but this issue is reproducible with a default Qt example. I've tested this with the Qt analog clock example.

      Steps to reproduce:
      Start new project (ie) analog clock, kit android. Use default settings, only check build .aab and add ABI's arm64-v8a and armeabi-72 in the UI of Qt creator. Build the app.
      Use android bundletool (also used internally by google playstore) to create separate apks and deploy the 64bit version. It crashes on startup.

      Logcat shows several errors:
      I/Qt JAVA: Can't find 'nulllibc++_shared.so'
      I/Qt JAVA: Can't find 'nulllibQt5Core_arm64-v8a.so'
      I/Qt JAVA: Can't find 'nulllibQt5Gui_arm64-v8a.so'
      I/Qt JAVA: Can't find 'nulllibplugins_platforms_qtforandroid_arm64-v8a.so'

      All the libraries do seem to present in the packages but there seems to be something wrong with path names. Also 32 and 64 bit APKs produced with Qt are working as they should.

        For Gerrit Dashboard: QTBUG-86314
        # Subject Branch Project Status CR V

            assam Assam Boudjelthia
            wouter Wouter de Lange
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            9 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: