Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33468

[Reg 16.0.2 -> 17.0.1] qmlls version no longer follows kit version

XMLWordPrintable

    • 5bf0efa6d (18.0)

      Steps to reproduce

      1. In Qt Creator, ensure that the QML Language Server is enabled, but "Use from latest Qt version" is disabled
      2. Load a Qt Quick project (I tested with the example at QTBUG-137199)
      3. Configure the project to use multiple kits (I tested with Qt 6.8.4 + 6.9.2 + 6.10.0-beta3 for Desktop. Debug mode is used for every version)
      4. Open Main.qml
      5. Click the Language Server tool button (top-right corner of the Code Editor) to check which version of qmlls is active
      6. Switch to different kits, repeating step #5 with each switch

       

      Expected outcomes (QtC 16)
      Each time a different kit is selected, the old instance of qmlls stops running and a new one (based on the newly-selected kit) runs immediately.

       

      Actual outcomes (QtC 17)
      qmlls could get stuck at a specific version. For example, even when I switch to Qt 6.8.4 or 6.10.0, qmlls 6.9.2 remains active.

        For Gerrit Dashboard: QTCREATORBUG-33468
        # Subject Branch Project Status CR V

            sami.shalayel Sami Shalayel
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes