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

V4 invokables cannot be overloaded

    XMLWordPrintable

Details

    Description

      If you have a Q_INVOKABLE void f(QQmlV4Function args) function on a QML exposed type it can't be invoked from C+. QQmlV4Function is a private API, and if you add an overload for C+ meta-object invocation then QML can't decide on which overload to use. Related issue: Versioning the new overload prevents the QQmlV4Function version from being found in QML either.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            aalpert Alan Alpert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes