summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro')
-rw-r--r--tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro b/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro
index 63a59333..1b66692f 100644
--- a/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro
+++ b/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro
@@ -4,6 +4,28 @@ CONFIG += testcase
QT = core nfc-private testlib
+INCLUDEPATH += ../../../src/nfc
+DEPENDPATH += ../../../src/nfc
+
+# This test includes source code from QtNfc library. Define the namespace which moc generated code
+# should be in.
+DEFINES += QT_BEGIN_MOC_NAMESPACE=\""namespace QtNfc {"\"
+DEFINES += QT_END_MOC_NAMESPACE=\""}"\"
+
+HEADERS += \
+ qnearfieldmanagervirtualbase_p.h \
+ qnearfieldmanager_emulator_p.h \
+ qnearfieldtarget_emulator_p.h \
+ targetemulator_p.h
+
+SOURCES += \
+ qnearfieldmanagervirtualbase.cpp \
+ qnearfieldmanager_emulator.cpp \
+ qnearfieldtarget_emulator.cpp \
+ targetemulator.cpp
DEFINES += SRCDIR=\\\"$$PWD/../nfcdata\\\"
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+# This test crashes
+CONFIG += insignificant_test