Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-326

Failing QtBuild doesn't block the Java/Kotlin compile task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • QtGP 1.2
    • QtGP 1.2
    • QtGP: General
    • None
    • Android, macOS
    • dbcca1736 (dev), eb6c0f700 (1.2)

      Steps to reproduce:

      1. Make the QtBuild block have a failing configuration, for example change projectPath to a nonexisting directory
      2. Gradle sync
      3. Run the app

      Expected:

          QtBuild fails and blocks any further compilations

      Actual:

          QtBuild fails but the Java/Kotlin compilation is attempted, which introduces a lot of failures.

      While this is not critical it's probably very confusing for the user, as the IDE shows these errors as the topmost ones.

      Checked with Tero that this was not the intention when removing QtAddDependencyTask, so this should be considered to be a regression.

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

            olvuolte Olli Vuolteenaho
            olvuolte Olli Vuolteenaho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes