summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnearfieldmanager/qnearfieldmanager.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qnearfieldmanager/qnearfieldmanager.pro')
-rw-r--r--tests/auto/qnearfieldmanager/qnearfieldmanager.pro23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/qnearfieldmanager/qnearfieldmanager.pro b/tests/auto/qnearfieldmanager/qnearfieldmanager.pro
index 4d1d84b0..20772f6c 100644
--- a/tests/auto/qnearfieldmanager/qnearfieldmanager.pro
+++ b/tests/auto/qnearfieldmanager/qnearfieldmanager.pro
@@ -4,5 +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