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

androiddeployqt fails with unobvious error when the linking to Core/Gui is missing.

    XMLWordPrintable

Details

    • 147e6281c (dev), a9c8870b5 (dev), 6e09b6481 (6.4), bb01e0bc0 (6.5), 47e5e4c9f (tqtc/lts-6.2), 2b966fe7a (tqtc/lts-5.15), 92746da86 (6.4), d670ce853 (6.5), 5d2c0991e (tqtc/lts-5.15), da273fed3 (tqtc/lts-6.2)

    Description

      When building application that doesn't use either Core or Gui, androiddeployqt fails to resolve dependencies of libplugins_platforms_qtforandroid_armeabi-v7a.so with non-obvious output:

       46: Skipping /home/semlanik/Projects/Qt/qt6_dev/android_armv7/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so due to unmet dependencies: lib/libQt6Gui_armeabi-v7a.so
      46: Skipping plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so due to unmet dependencies: lib/libQt6Gui_armeabi-v7a.so
      46: Skipping createRCC
      46: No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one.
      

      It would be nice either:

      • to skip the deployment step completely and display the cmake warning if application doesn't link to Core/Gui libraries
      • show the tip that Core/Gui need to be linked to the application

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            semlanik Alexey Edelev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: