Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120632

qmlls does not work for older Qt Versions (e.g. Qt 5.15)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Some future release
    • 6.7
    • QML: Tooling
    • None

      Currently, qmlls is unusable on Qt 5.15: there are warnings everywhere about types that could not be imported.

      The reason is that qmlls uses its own QmlImportPath, and therefore analyzes the QML code using its knowledge of types that does not match the actual types available in Qt 5.15.

      Find all the usages of QLibraryInfo::path(QLibraryInfo::QmlImportsPath in qmlls code and replace it with the QmlImportsPath of the Qt Kit used by the user.

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

            qtqmlteam Qt Qml Team User
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes