I'm following along with: http://doc.qt.io/qt-5/qtnfc-annotatedurl-annotatedurl-cpp.html
However: In file included from ../my_project/nfctag.cpp:1: In file included from ../my_project/nfctag.h:4: In file included from ../../Qt/5.12.0/android_armv7/include/QtNfc/QNearFieldManager:1: In file included from ../../Qt/5.12.0/android_armv7/include/QtNfc/qnearfieldmanager.h:45: In file included from ../../Qt/5.12.0/android_armv7/include/QtNfc/QNearFieldTarget:1: ../../Qt/5.12.0/android_armv7/include/QtNfc/qnearfieldtarget.h:60:20: error: variable has incomplete type 'class Q_NFC_EXPORT' class Q_NFC_EXPORT QNearFieldTarget : public QObject ^ ../../Qt/5.12.0/android_armv7/include/QtNfc/qnearfieldtarget.h:60:7: note: forward declaration of 'Q_NFC_EXPORT' class Q_NFC_EXPORT QNearFieldTarget : public QObject ^ ../../Qt/5.12.0/android_armv7/include/QtNfc/qnearfieldtarget.h:60:37: error: expected ';' after top level declarator class Q_NFC_EXPORT QNearFieldTarget : public QObject QtCreator is telling me that Q_NFC_EXPORT is: #define Q_NFC_EXPORT Q_DECL_IMPORT I'm using NDK n18r - clang. I have added QT += nfc to my Android scope. I have ran qmake Has anyone tried this with clang? Does this work? _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest