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

Details

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

    Description

      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.

      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:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes