Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1101

Wrong generator in CMakeUserPresets.json

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 3.0.1
    • General
    • None
    • Windows
    • b47e1a043 (dev)

      When creating a new widgets project with CMake in VS 2022 we have this in CMakeUserPresets.json:

            "generator": "Visual Studio 16 2019",
      

      The generator must match the Visual Studio version.

      But it turns out that the generator could just be Ninja.
      Vanilla Visual Studio itself uses the Ninja generator when opening CMake projects.

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

            mecfc Miguel Costa
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes