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

inline qml object is not found

    XMLWordPrintable

Details

    • 77a20c00e (dev), c4e64d082 (6.8)

    Description

      Hi,

      If the imported file is lowercase, root object is found but not the inline object, it works if filename starts with an uppercase.

      Attached is an example. the cmake project does run fine as InlineComp.qml starts with uppercase

      The qmake project fails as using inlineComp.qml
      If I amend the file name with uppercase and modify the qmldir accordingly, it works.

      This should work in any case as the qmldir contains InlineComp 6.8 inlineComp.qml, so the component name InlineComp starting with uppercase should suffice.

      Instead I am getting the error "Type InlineComp has no inline component type called Test"

      Attachments

        1. issue.zip
          3.90 MB
          Regis Duflaut

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              reg31 Regis Duflaut
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes