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

.jar files are not a part of any CMake dependency chain except 'all'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.1, 6.2
    • Build System: CMake
    • None
    • Android

    Description

      When building java packages assigned to the module we don't put jar target to any dependencies chain except the 'all' one. This causes an issue since androiddeployqt expects .jar files are built when scanning and processing '-android-dependencies.xml' files of the Qt modules.

      '-android-dependencies.xml' is generated without any obligation that the files mentioned in it are created and ready to be deployed when deploying any target using androiddeployqt.

      We can add the target level Qt modules dependency to the associated jar target and use the jar targets as the input source for the -android-dependencies.xml files.

      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:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes