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

Ninja can't be found in path on Linux/macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • QtGP 1.1
    • QtGP 1.0
    • QtGP: General
    • None
    • dd98f5125 (dev)

      The fallback to finding ninja in PATH doesn't work on non-Windows systems. The current implementation searches for a component in PATH that ends with "Ninja" or "ninja". This works fine on Windows, if for example C:\Program Files\Ninja has been added to PATH. The most likely situation on Linux is that ninja is located in /usr/bin/ninja and /usr/bin is in PATH. This means the PATH component doesn't match and ninja won't be found.

      Also the error message is cryptic. "> No valid path to Ninja found. From path: null/ninja." Improvement here is the search returns null?

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

            teko Tero Koponen
            olvuolte Olli Vuolteenaho
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes