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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes