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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes