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

Investigate QQmlJSScope's filePath

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • 6.9
    • QML: Compiler
    • None

    Description

      The filePath of a QQmlJSScope can hold a variety of different values. These values were observed for various types:

      • Path to a .qml file in the source folder
      • Path to a .qml file in the build folder
      • "private/<...>" relative includes
      • resource paths
      • A simple file name
      • Empty string

      The content of filePath is inconsistent and cannot really be relied upon.

       

      Maybe a better solution would be to introduce a data structure containing all the known paths of a type. This way the most adequate information can be used.

      Attachments

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

        Activity

          People

            olivier.decanniere Olivier De Cannière
            olivier.decanniere Olivier De Cannière
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes