Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Creator 14 started to require Ninja to be in PATH on Windows
Forum Update on Monday, May 27th 2025

QT Creator 14 started to require Ninja to be in PATH on Windows

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 324 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dmitriano
    wrote on last edited by Dmitriano
    #1

    When I run QT Creator from the Command Prompt having Ninja in PATH as follows:

    >set PATH=%PATH%;C:\dev\tools\ninja-win
    >where ninja
    C:\dev\tools\ninja-win\ninja.exe
    >C:\Qt\qtcreator-14.0.2\bin\qtcreator.exe
    

    I am able to select Ninja generator:

    0b792283-1f66-4adc-aaa3-3f304b5447e7-image.png

    but if Ninja is not in PATH QT Creator does not allow to select Ninja. When I select it from the drop-down list and press "OK" button it is reset to "NMake Makefiles JOM". The same happens if I specify Ninja manually in "profiles.xml".

    IMHO, it is a strange behavior, because CMake does not require Ninja to be in PATH and allows to specify its location with DCMAKE_MAKE_PROGRAM:FILEPATH=C:\dev\tools\ninja-win\ninja.exe

    My CMake Settings:

    alt text

    Follow this link to see all my settings.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved