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

QML engine can't handle directory names ending in ".js" for imports

    XMLWordPrintable

Details

    Description

      The QML grammar is unable to differentiate a directory import from a script import. To resolve the ambiguity, it assumes that if the filenames ends with js or mjs, we have a script resource.

      This however breaks down when the directory contains ".js" as the name.

      Attachments

        1. QTBUG124552.tar.gz
          0.3 kB
          Fabian Kosmale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes