Skip to content

Kit with preferredGenerator isn't finding generator #4031

@gcampbell-msft

Description

@gcampbell-msft
          Reproduce issue like this:

Install jom (https://wiki.qt.io/Jom).
Add jom.exe location to your system PATH.
In cmake-tools-kits.json add the following kit:
{"name": "JOM test kit", "preferredGenerator": {"name": "NMake Makefiles JOM"}}

Open a CMake project and try to configure it with the "JOM test kit".
You will get the error:

[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.

Originally posted by @KorkiFork in #4019 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: kitsbuga bug in the productregressionused to work and no longer does. Regressions are typically high priority

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions