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

The compiler Settings are incorrect when multiple versions of QT are installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 1.2.0, 1.4.0
    • C++, CMake
    • None
    • Windows

    Description

      I installed Qt 5.15.2 mingw81_32 and Qt 6.5.3 mingw_64, as well as Build Tools mingw810_32 and mingw1120_64 on the computer using Qt Maintenance Tool.

      The Qt Extension Pack was installed in VSCode. After the "Scan for Qt Kits" command, two new configurations appeared in cmake-tools-kits.json. Among them, the one related to Qt6 seems fine, but the configuration item related to Qt5 should contain two errors:

      1. The environment variable PATH 
      2. Compilers

      These two configurations use the new version of mingw1120_64 instead of mingw810_32, which seems different from the default behavior in QtCreator.

      According to the current configuration, qt5 is 32-bit but uses a 64-bit compiler, which seems incorrect as well.

       

       

      Attachments

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

        Activity

          People

            qtvscodeteam Qt VS Code
            listenerri listenerri listenerri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes