From 7d1de5c312ccf0a85ba0a6a047240cc5777ea18d Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 29 Sep 2014 16:56:41 +0200 Subject: 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 Reviewed-by: Alex Blasche --- tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/qbluetoothserviceinfo/qbluetoothserviceinfo.pro') 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 +} -- cgit v1.2.3