Issues with QtNFC
-
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 thetargetDetected
andtargetLost
slots but none fired.I'm using a PN533 (ACR122) under Ubuntu 20.04. The card is a common
ISO14443A
.
It works find usinglibnfc
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? -
Hi,
You should add some more information:
- Qt version
- OS
- Device specification
-
Do you have the same issue with Qt 5.15 ?
-
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.
@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: