summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2012-06-18 17:06:13 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-18 19:15:54 +0200
commitabe4b3171379c1c0364cbedcbed7021267f66b3a (patch)
treefcaf20181afc0336b494e739de87f4ee6f82b834 /src/corelib
parent486601fbc4a7e9eaeb5df5bb3966c3aec31d8d65 (diff)
Make QUuid compile with QT_NO_QUUID_STRING
Task-number: QTBUG-24816 Change-Id: I0cbb0581a1c3abefdde75b7cd45fdafd31640f0d Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/plugin/quuid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
index b1805afd53..facd1804da 100644
--- a/src/corelib/plugin/quuid.cpp
+++ b/src/corelib/plugin/quuid.cpp
@@ -986,7 +986,7 @@ QUuid QUuid::createUuid()
guid; otherwise returns false.
*/
-#ifndef QT_NO_DEBUG_STREAM
+#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_QUUID_STRING)
QDebug operator<<(QDebug dbg, const QUuid &id)
{
dbg.nospace() << "QUuid(" << id.toString() << ')';