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

qmlimportscanner does not properly handle ../ in path imports

    XMLWordPrintable

Details

    • 67ae983d1 (dev), 874de7801 (6.8), bc8f3e0c0 (dev), 678621c23 (6.8)

    Description

      Create QML file:

      import "../lib"
      Anything {}
      

      Run it through qmlimportscanner:

      path/to/qmlimportscanner -qmlFile /path/to/file.qml
      

      It seems to be simply dropping the .. from 'path':

      [
          {
              "name": "../lib",
              "path": "/path/to/lib",
              "type": "directory"
          }
      ]
      

      Attachments

        For Gerrit Dashboard: QTBUG-126632
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes