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

QtGP Misleading error if Own build Qt host and no Ninja found in ~/Qt/Tools or PATH

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • QtGP 1.2
    • QtGP 1.1
    • QtGP: General
    • None
    • Android, Windows
    • 6b4a65472 (dev)

    Description

      Steps to reproduce:

      • Open clean qtquickview_(kotlin or java)
      • Define:
        • qtPath with own build qt host path 
      • Make sure PATH does not have Ninja or edit the path to be wrong
      • Make sure ~/Qt/Tools/Ninja does not exist or edit the path to be wrong
      • Run application, it should fail and give you the error below

      Bolded the misleading part of the error: 

      Execution failed for task ':app:QtBuildTask'.
      > No valid path to Ninja found. Checked locations:
            - Manually specified path in build.gradle QtBuild extension: C:\Repos\Qt\Tools\Ninja\ninja.exe
            - Environment PATH
            - Default Qt installation directory: C:\Repos\Qt\Tools\Ninja

       

      Like in QTTA-256 there is no "C:\Repos\Qt\Tools\Ninja\ninja.exe" to be found so we should give a different error here. File missing or something and figure how to differentiate between custom build host and one gotten from Installer.

      Attachments

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

        Activity

          People

            teko Tero Koponen
            teko Tero Koponen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes