Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33571

Docker-based kits don't always allow Ninja as a CMake generator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.1
    • None
    • Linux/Wayland
    • c64409379 (18.0)

      When configuring a Kit based on a "Docker Device", trying to configure a "CMake generator" of "Ninja" checks the local system for the ninja tool instead of checking in the docker image. It wrongly fails if ninja is missing locally but available in the docker image. And it probably wrongly succeeds if ninja is available locally but missing in the docker image (untested).

      Looking at the code I think this might be CMakeGeneratorKitAspectFactory::fix(Kit *k) which calls CMakeGeneratorKitAspectFactory::isNinjaPresent(const Kit *k, const CMakeTool *tool) which performs a local filesystem search for a file ninja.

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

            cadam Cristian Adam
            omandel Olaf Mandel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes