From 4c6ddcf21f4e6f332674e5be6e09751fbccc01d6 Mon Sep 17 00:00:00 2001 From: Aaron McCarthy Date: Thu, 17 Jan 2013 22:17:04 +1000 Subject: Fix building of NFC tests. The tests qnearfieldmanager, qnearfieldtagtype1 and qnearfieldtagtype2 pull in shared code from the NFC library source. Set VPATH so that these source files can be found. Change-Id: Ie095b4d55b06cb364c697b944f9a4aca9e6fbb93 Reviewed-by: Lorn Potter --- tests/auto/qnearfieldmanager/qnearfieldmanager.pro | 1 + tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro | 1 + tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro | 1 + 3 files changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/auto/qnearfieldmanager/qnearfieldmanager.pro b/tests/auto/qnearfieldmanager/qnearfieldmanager.pro index 52272dfe..532409ab 100644 --- a/tests/auto/qnearfieldmanager/qnearfieldmanager.pro +++ b/tests/auto/qnearfieldmanager/qnearfieldmanager.pro @@ -5,6 +5,7 @@ CONFIG += testcase 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. diff --git a/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro b/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro index ece570e0..9f4ea6d5 100644 --- a/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro +++ b/tests/auto/qnearfieldtagtype1/qnearfieldtagtype1.pro @@ -5,6 +5,7 @@ CONFIG += testcase 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. diff --git a/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro b/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro index 1fba4540..36e80260 100644 --- a/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro +++ b/tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro @@ -5,6 +5,7 @@ CONFIG += testcase 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. -- cgit v1.2.3