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

the same name of classes in different namespaces registered in QML

    XMLWordPrintable

Details

    Description

      for example

      NamespaceA {
          MyClass { 
              QML_ELEMENT
          }
      }
      NamespaceB {
          MyClass { 
              QML_ELEMENT
          }
      }
      

      I tested it won't give any error, and the first one will be used when instanced in QML.

      shall warn this is an invalid syntax. NamespaceB::MyClass will be ignored.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes