I followed tutorial "Using Qt mobility to develop NFC apps", I was able to detect tags from there, but I needed UID of the tag, I copied following lines from NFCINFO code
QString uidString = QVariant(target->uid().toHex()).toString();
and
qDebug()<<"Type: " + convertTagTypeToString(target->type()) + "\n";

I got compilation error for these lines in ndefmanager.cpp.

Please help