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

Wrong generator in CMakeUserPresets.json

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes