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

[doc] Preset examples using incorrect cmake directive (CMAKE_BUILD_TYPE)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 17.0.1
    • Qt Creator 17.0.0
    • Documentation
    • None
    • d65407759 (17.0)

      The Ninja multiconfig example over in here: https://doc.qt.io/qtcreator/creator-build-settings-cmake-presets.html

      Specifies the multi-config via:
      "CMAKE_BUILD_TYPE": "Debug;Release",
      However, this cmake variable is for single configurations.

      It may be when the docs were put together cmake was more lenient, but configuring with cmake 4.0 will cause an error.

      Multi-configuration generators should use: CMAKE_CONFIGURATION_TYPES.

        For Gerrit Dashboard: QTCREATORBUG-33274
        # Subject Branch Project Status CR V

            leenam Leena Miettinen
            chardrazle Richard Hazlewood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes