summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothuuid.h
diff options
context:
space:
mode:
authorOleg Shparber <trollixx@gmail.com>2014-04-28 02:09:06 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-28 20:28:54 +0200
commit293af3174c5615978d842603f9a8a4a9b568236c (patch)
tree564ae397b7564e2b0753a8f74a2fa7d45d5af859 /src/bluetooth/qbluetoothuuid.h
parent78022ee2e2ee417efa3fb593ea0fb0a3185caa3b (diff)
Check for QT_NO_DEBUG_STREAM for QBluetoothUuid QDebug helper
[ChangeLog][QtBluetooth] QDebug helper for QBluetoothUuid became aware of QT_NO_DEBUG_STREAM define. Change-Id: I20941c32560bfc6beaa8f4f465799af987d0b0cd Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothuuid.h')
-rw-r--r--src/bluetooth/qbluetoothuuid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h
index 014b975a..f33d8c13 100644
--- a/src/bluetooth/qbluetoothuuid.h
+++ b/src/bluetooth/qbluetoothuuid.h
@@ -174,11 +174,14 @@ public:
quint128 toUInt128() const;
};
+#ifndef QT_NO_DEBUG_STREAM
+/// TODO: Move implementation to .cpp, uninline and add Q_BLUETOOTH_EXPORT for Qt 6
inline QDebug operator<<(QDebug debug, const QBluetoothUuid &uuid)
{
debug << uuid.toString();
return debug;
}
+#endif
QT_END_NAMESPACE