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

Add error message when type registration fails outside of QML module loading

XMLWordPrintable

    • 036aa822455b4d831076a1ba364fa1ef304dee84

      Add error message when type registration namespace is not set.

      If one does
      qmlRegisterUncreatableType<EnumTest>("enumtest",1,0,"enumtest", "empty");
      and tries to access console.log("enumtest.high:" + enumtest.high); we only print out ReferenceError.

      It would be more clear to give programmer indication why the enumtest was not registered, e.g. give indication that it should be uppercase.

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

            erikv Erik Verbruggen
            ravila Risto Avila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes