Skip to content

Disable CMake integration #54

Description

@jdoubleu

Is your feature request related to a problem? Please describe.
I'm using Visual Studio and the 'Qt Visual Studio Tools' with a CMake project. However, I'm not relying on an installed version of Qt but using conan (package manager). Nonetheless, this plugin injects itself into my CMakePresets.json and interferes with the presets generated by conan.

Describe the solution you'd like
It would be nice if I could disable the Tools to inject themselves into the CMakePresets.json and preventing them from generating a CMakeUserPresets.json.

Ideally, I could disable this on a per-project/-repository basis. So instead of providing an option in the VS plugin settings, maybe it could recognize the vendor: qt-project.org/Presets block inside the CMakePresets.json?

Describe alternatives you've considered
I'm currently just using the other presets, but have to manually touch the CMakeUserPresets.json for example, to increase its version. Otherwise it breaks Visual Studio.

Additional context
See also https://doc.qt.io/qtcreator/creator-build-settings-cmake-presets-qt-vendor.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions