summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-09-29 16:56:41 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-09-30 15:27:39 +0200
commit7d1de5c312ccf0a85ba0a6a047240cc5777ea18d (patch)
treea57069ca95b4f92434d71500172e37be1bd1f1c2 /tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro
parent0564f806ee4eaeb10743ab21e30c783436e36d49 (diff)
Fix QBluetoothServiceInfo uni test on platforms using fake server ports
Those platforms require a running QBluetoothServer to satisfy the prerequisites of calling QBluetoothServiceInfo::registerService(). This requirement is imposed by the public API contract anyway. Change-Id: I2498030fa2787df9745580cd744886693945fe4f Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro')
-rw-r--r--tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro b/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro
index 90703bd1..563df1a9 100644
--- a/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro
+++ b/tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro
@@ -4,3 +4,7 @@ CONFIG += testcase
QT = core concurrent bluetooth testlib
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+android:!android-no-sdk {
+ DEFINES += QT_ANDROID_BLUETOOTH
+}