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

Proir to VS-Tools 4.3.0.1 I could hide Qt-Debug and Qt-Release

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 3.3.1 (rev.39)
    • General
    • None

    Description

      Before the current release (4.3.0 - I could only specify 3.3.1 (rev 39 above)) I could change the entries in CMakeUserPresets.json for Qt-Debug and Qt-Release so they were hidden as they were of no use to me.

      Now the latest release INSISTS on adding them again without the `"hidden": true,` specification so I end up with:
      ```
      {
      "name": "Qt-Debug",
      "inherits": "Qt-Default",
      "binaryDir": "${sourceDir}/out/build/debug",
      "cacheVariables":

      { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_CXX_FLAGS": "-DQT_QML_DEBUG" }

      ,
      "environment": {
      "QML_DEBUG_ARGS": "-qmljsdebugger=file:

      {79bf45b3-88b2-4f5b-9d20-dee0bee78d1c}

      ,block"
      }
      },
      {
      "name": "Qt-Release",
      "inherits": "Qt-Default",
      "binaryDir": "${sourceDir}/out/build/release",
      "cacheVariables":

      { "CMAKE_BUILD_TYPE": "Release" }

      },
      {
      "hidden": true,
      "name": "Qt-Debug",
      "inherits": "Qt-Default",
      "binaryDir": "${sourceDir}/out/build/debug",
      "cacheVariables":

      { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_CXX_FLAGS": "-DQT_QML_DEBUG" }

      ,
      "environment": {
      "QML_DEBUG_ARGS": "-qmljsdebugger=file:

      {5a8ae9a2-a4de-4624-a65b-7b07c3ffa8b9}

      ,block"
      }
      },
      {
      "hidden": true,
      "name": "Qt-Release",
      "inherits": "Qt-Default",
      "binaryDir": "${sourceDir}/out/build/release",
      "cacheVariables":

      { "CMAKE_BUILD_TYPE": "Release" }

      },
      ```
      which give me errors when it is parsed.

      Please revert to allowing me to hide these

      Attachments

        Issue Links

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

          Activity

            People

              qtvstools Qt VS Tools
              perdrix David Partridge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes