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

Do not rewrite cmake-tools-kits.json each time on start, throwing away user changes

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • None
    • CMake
    • None
    • Windows

      Each time I start VS Code, the extension seems to rescan Qt versions and rewrite cmake-tools-kits.json in my user settings. It also discards any changes I make to the detected Qt kits.

      My use case is this: I'm cross-compiling an app from Windows to Linux ARM board, so I built Qt from source. I registered my Qt installation, providing a path to qmake executable. But I'm unable to specify cross-compilers paths for that kit (my local compiler is invoked instead), nor am I able to add an extra CMake variable.

      I worked around this issue by using the cross-compiler kit detected by CMake Tools extension itself, and adding extra CMake variable in settings.json file in my workspace.

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

            orkun.tokdemir Orkun Tokdemir
            azarubkin Alexandr Zarubkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes