Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Issues with QtNFC
Qt 6.11 is out! See what's new in the release blog

Issues with QtNFC

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 1.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by Mark81
    #1

    I'm reading through the documentation of QtNFC.. I successfully compiled the NDEF Editor, but nothing happens. I mean, the GUI runs, I can load/save NDEF records to HDD, but read/write to cards doesn't work. If I click read a blue square appears, while if I click write a yellow square appears. But no data is actually read/write from/to the card.

    Even if I don't put the card on the reader the behavior is the same. I added some qDebug() output in the targetDetected and targetLost slots but none fired.

    I'm using a PN533 (ACR122) under Ubuntu 20.04. The card is a common ISO14443A.
    It works find using libnfc and the related examples.

    I tried to:

    qDebug() << m_manager->isEnabled() << m_manager->isSupported();
    

    and both return false.
    Is there something I need to check in my system?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should add some more information:

      • Qt version
      • OS
      • Device specification

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        You should add some more information:

        • Qt version
        • OS
        • Device specification
        M Offline
        M Offline
        Mark81
        wrote on last edited by Mark81
        #3

        @SGaist

        • Qt 6.2.0
        • Ubuntu 20.04 Desktop
        • KKMoon ACR122
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you have the same issue with Qt 5.15 ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • SGaistS SGaist

            Do you have the same issue with Qt 5.15 ?

            M Offline
            M Offline
            Mark81
            wrote on last edited by
            #5

            @SGaist Sorry but I can't run Qt 5.x for this project, I need to stay with Qt 6.2

            M 1 Reply Last reply
            0
            • M Mark81

              @SGaist Sorry but I can't run Qt 5.x for this project, I need to stay with Qt 6.2

              M Offline
              M Offline
              mchinand
              wrote on last edited by mchinand
              #6

              It may not be a final solution, but checking to see if it works for you when using Qt5.15 may help pinpoint why it's not working for you with Qt6.

              M 1 Reply Last reply
              0
              • M mchinand

                It may not be a final solution, but checking to see if it works for you when using Qt5.15 may help pinpoint why it's not working for you with Qt6.

                M Offline
                M Offline
                Mark81
                wrote on last edited by
                #7

                @mchinand Well, I installed Qt 5.15 and launched the official demo. The output is:

                qt.nfc.neard: dbus object manager invalid
                qt.nfc.neard: Error getting managed objects
                qt.nfc.neard: dbus object manager invalid or adapter path invalid
                

                I'm pretty sure there is no neard on the system because it seems it's not available in Ubuntu 20.04:

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved