QNX: Fix a dangling pointer use in QBluetoothServiceDiscoveryAgent on QNX

toUtf8 returns a temporary, we must not use a pointer inside it without making
sure that the QByteArray returned sticks around.

Change-Id: I4566d14f52acac083433dfe63c64365d119bbd17
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I3ca73a1a829da2c2ee87e5d980165ef867d2f1b9
Improve error reporting.

Whenever we emit an error, we should set the human readable error string
in the discovery classes.

[ChangeLog][QtBluetooth][Documentation] Fix cases where device and service
discovery classes emitted an error signal but the human readable
error string was not adjusted.

Change-Id: I9680853d17d2ee4bc1293826bb7bf56cc999e2ed
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Use QLoggingCategory to categorize the various debug output streams

Task-number: QTBUG-32253
Change-Id: I193162407d0fc7eca83689e31f03e1641a494ab0
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Translate so far untranslated error strings.

Change-Id: I7d91404052ce987ea700e698c024475211bad025
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix active state of default implementation of QBluetoothServiceDiscoveryAgent

Task-number: QTBUG-35571
Change-Id: Iecb959ece30b2af7340c3dfa9bf4b08c4004da14
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix error state of default QBluetoothServiceDiscoveryAgent

Task-number: QTBUG-35571
Change-Id: I9f3ba17bac1559758dae3808310262c6356a91c2
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Check the local adapter's BluetoothAdress before doing the discovery

Task-number: QTBUG-35571
Change-Id: I8f2eea7a8437787d61a238c760e948f45738618a
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Improve and fix documentation for the Bluetooth discovery classes.

[ChangeLog][QtBluetooth][Documentation] The documentation for the
Bluetooth discovery classes has been improved.

Change-Id: Id4366b491e8bbda8cf884b9ad3594dd89cc925e8
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	src/bluetooth/qbluetoothlocaldevice_qnx.cpp
	src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp

Change-Id: If7dd968047fec5352567e9b67ca5b8e680c7523d
Don't set the internal service discovery state twice to the same

The first call is not necessary as nothing has changed in the meantime.

Change-Id: I8db51fd725dd210b3d5c7b01d399d24877bf9b2f
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix remaining compiler warnings in QtConnectivity module

Change-Id: Iafadb39642c6b2944e8a873bdee49fb87e3ed5e9
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix remaining uncategorized debug/warning messages (catchup in dev)

The initial change was done in stable. After merging it to dev
new code paths required a similar treatment.

Task-number: QTBUG-32253

Change-Id: I745928f28c35ce9c0e601df6e11eb21c9f17ca7a
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Use QLoggingCategory in Bluetooth QML import plugin.

Add some minor include cleanups as well.

Task-number: QTBUG-32253
Change-Id: I2ccb813a9dd85ca16c1ed8aab962418df8157890
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
BlackBerry: Fix compilation

qBBBluetoothDebug was removed by 94f862e2

Change-Id: I85eca3bfbec2190f8a7413ec708d5bf99bc6998a
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp

Change-Id: Ic9e5cb3989426b90f6dad58d53dba366638ff35f
Add change log for 5.2.1

Change-Id: I12b294e9d3db91a1580b022ccae9dacb5b841ae0
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Don't build scanner example without QtQuick

Task-number: QTBUG-35711
Change-Id: I0406fb5edd8fb2a90046308853485eaaa4311a26
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Print error message in Bluetooth QML scanner example.

It required 15 min debugging the not working application till it was
discovered that the Bluetooth device was not turned on.

Change-Id: I05318c78dd4f19780d0b6343a4ae781703c18d91
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Document a somewhat peculiar signal behavior mismatch during Bt discovery

Change-Id: I8f9ac85e7753a9d6142bbefcd0e4bcda09e0f3d8
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>