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

androiddeployqt could detect libs architecture automatically with ANDROID_EXTRA_LIBS

    XMLWordPrintable

Details

    • Android

    Description

      When using the following qmake variable

      ANDROID_EXTRA_LIBS += $$[QT_INSTALL_LIBS]/libQt5Sql.so
      

      in previous Qt versions before 5.14.0 which introduced the multi-abi builds, it used to work. But, now since all libs are in the same folder with an extra suffix in the filename. Now, users need to account for all architectures when using ANDROID_EXTRA_LIBS.

      One workaround is to change such instances to:

      ANDROID_EXTRA_LIBS += $$[QT_INSTALL_LIBS]/libQt5Sql_$${ANDROID_TARGET_ARCH}.so

      However, androiddeployqt needs to handle/detect the arch automatically by looking for available libs with the base name + the arch suffix. 

      Attachments

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              assam Assam Boudjelthia
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes