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

QML imports search order wrong

    XMLWordPrintable

Details

    • 849694e4cb9d010517b54b2b30035485487b0e12

    Description

      QML imports search order is: applicationDirPath(), $QML_IMPORT_PATH, QLibraryInfo::ImportsPath.

      On Symbian platform, import path should be searched on all available drives in descending alphabetical order, from Y: to A:, and ending with the Z: drive. The search ends when the file/directory is found, or when every available drive has been unsuccessfully searched.

      Import path searching on drives seems to be searched in wrong order, starting from Z:.
      The attached debug prints show that QML Gallery application is on C:. The application imports Qt Components that are on E:, C: and Z:.
      Qt Components on Z: are used, although the ones on E: should be used.

      Attachments

        1. qmlgallery_in_c.txt
          160 kB
          Pasi Kellokoski
        2. qtbug-21409.diff
          4 kB
          Murray Read
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mread Murray Read
            pkelloko Pasi Kellokoski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes