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

[REG 6.8 -> 6.9] QtQmlStatusChangeListener is not a functional interface

    XMLWordPrintable

Details

    • Android
    • 1cecf1ce1 (dev), 9453358f2 (6.9)

    Description

      Steps to reproduce

      Run the manual test in qtdeclarative/tests/manual/platforms/android/, or some other Quick for Android project which involves giving a lambda in place of this listener interface, i.e:

      m_secondServiceViewContent.setStatusChangeListener(qtQmlStatus -> {
        // Do stuff here ...
      });

      And you will get error:

      error: incompatible types: QtQmlStatusChangeListener is not a functional interface
                  m_secondServiceViewContent.setStatusChangeListener(qtQmlStatus -> {
                                            ^
          no abstract method found in interface QtQmlStatusChangeListener

       

      This used to be valid before changes done for QTBUG-127420, I think specifically change I1dea9af32670e32fbe5bac7b7bcd16dde2341032.

      Attachments

        Issue Links

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

          Activity

            People

              pevirkku Petri Virkkunen
              pevirkku Petri Virkkunen
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes