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

qmlls: Goto Type Definition returns path instead of URI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.6
    • QML: Tooling
    • None

      When using Kate with qmlls, Goto TypeDefiniton seems to be broken because we apparently return a path instead of a URI.

       

      Way to reproduce: Open the filesystemexplorer example, click on MyMenuBar and select "Goto Type Definition".

       

      Using QUrl::fromLocalFile in QmlGoToTypeDefinitionSupport::process before assigning to l.uri seems to help, but it's unclear if we shouldn't normalize to an URI

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

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes