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

`cmake-kits.json` synchronization problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.4.0, 1.5.1
    • devcontainer
    • None
    • Linux/Wayland, macOS

    Description

      When a devcontainer is started, both the `qt-cpp` and the `CMake` extension try to modify `cmake-kits.json`. This creates a race condition. To be more specific, sometimes `qt-cpp` generates Qt kits before the `CMake` extension starts to watch `cmake-kits.json`.
      In this situation, Qt kits are overwritten by the `CMake` extension instead of being kept.

      Possible Solution:
      `qt-cpp` should detect if it is run inside a devcontainer and start scanning kits from the CMake extension explicitly, like the Windows usage.

      Attachments

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

        Activity

          People

            qtvscodeteam Qt VS Code
            orkun.tokdemir Orkun Tokdemir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes