To use the classes of the module in your application, you need the following import statement in your .qml file:
.qml
import QtNfc 5.12