summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnearfieldtagtype2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qnearfieldtagtype2')
-rw-r--r--tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro b/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro
index 36e80260..931df5d6 100644
--- a/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro
+++ b/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro
@@ -1,3 +1,5 @@
+requires(contains(QT_CONFIG, private_tests))
+
SOURCES += tst_qnearfieldtagtype2.cpp
TARGET = tst_qnearfieldtagtype2
CONFIG += testcase
@@ -7,11 +9,6 @@ QT = core nfc-private testlib
INCLUDEPATH += ../../../src/nfc
VPATH += ../../../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 \
qnearfieldtarget_emulator_p.h \