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

Nfc Docu error in text and not detailed enough

    XMLWordPrintable

Details

    Description

      In the docu of the QNearFieldManager there is text saying:
      QNearFieldManager *manager = new QNearFieldManager;
      manager->registerNdefMessageHandler(this,
      SLOT(handleNdefMessage(QNdefMessage,QNearFieldTarget)));

      I guess this should be
      QNearFieldManager *manager = new QNearFieldManager;
      manager->registerNdefMessageHandler(this,
      SLOT(handleNdefMessage(QNdefMessage,QNearFieldTarget*)));

      else it results in an runtime Signal-Slot warning.

      Also nowhere in the NFC documentation can be found which platforms are currently supported. You can only find out wheter the platform you are using supports the QtNfc module by using the QNearFieldManager isAvailable function. Maybe this should be documented somewhere. The documentation NFC is general not as detailed as I know it from the rest of Qt.

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            strahlex Alexander Rössler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes