Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-6

load existing Qt/CMake projects

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P1: Critical
    • 1.0.0
    • None
    • General
    • None

    Description

      As a developer, I want to load and build existing Qt projects that use CMake.

      Similar to what we have in Qt VS Tools, we detect whether the project uses Qt and create CMakePresets.json and CMakeUserPresets.json. Handle the situation gracefully where such files already exist.

      The known Qt versions are referenced in the presets.
      The default Qt version is used for the default preset.

      Alternatively to presets we might just modify cmake.configureSettings in the settings.json of the workspace:

      {
          "cmake.configureSettings": {
              "CMAKE_PREFIX_PATH": ["~/Qt/6.5.0/gcc_64"]
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              sergkryvonos Serg Kryvonos
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes