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

Warning: QMetaObject::invokeMethod: No such method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.2
    • 5.11.0 Beta 4
    • Connectivity: NFC
    • Android

    Description

      During the NFC communication there are some warnings in the log:

      (null):0 ((null)): default   : QMetaObject::invokeMethod: No such method NearFieldTarget::requestCompleted(QNearFieldTarget::RequestId&)
      04-26 09:11:25.821 15281 15302 W AusweisApp2: Candidates are:
      04-26 09:11:25.821 15281 15302 W AusweisApp2:     requestCompleted(QNearFieldTarget::RequestId)

      I can find 2 lines in src/nfc/qnearfieldtarget_android.cpp:
      QMetaObject::invokeMethod(this, "requestCompleted", .....

      In src/nfc/qnearfieldtarget.h is a signal, but i can not find a method:
      void requestCompleted(const QNearFieldTarget::RequestId &id);

      Even if invokeMethod fails, all is working fine. I am working on understanding what the calls to invokeMethod should do.
      Maybe https://codereview.qt-project.org/#/c/210210/ has an influence?

      Attachments

        For Gerrit Dashboard: QTBUG-67958
        # Subject Branch Project Status CR V

        Activity

          People

            ablasche Alex Blasche
            larss Lars Schmertmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews