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

Qt VS Tools trashes user customisation of CMakePresets.json

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 3.3.0
    • CMake
    • None
    • Windows

      I modified CMakePresets.json to add a necessary customisation to the file:

      {
        "version": 3,
        "configurePresets": [
          {
            "hidden": true,
            "name": "Qt",
            "cacheVariables": {
              "CMAKE_PREFIX_PATH": "$env{QTDIR}"
            },
            "vendor": {
              "qt-project.org/Qt": {
                "checksum": "wVa86FgEkvdCTVp1/nxvrkaemJc="
              },
              "microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
                "copySourcesOptions": {
                  "method": "rsync",
                  "exclusionList": [
                    ".vs",
                    ".git",
                    "out",
                    "vcpkg_installed"
                  ]
                }
              }
            }
          }
        ],
        "vendor": {
          "qt-project.org/Presets": {
            "checksum": "67SmY24ZeVbebyKD0fGfIzb/bGI="
          }
        }
      }
      

      but the next time I opened Visual Studio it had been removed.

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

            ali.demiralp Ali Can Demiralp (Inactive)
            perdrix David Partridge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes