From abe4b3171379c1c0364cbedcbed7021267f66b3a Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 18 Jun 2012 17:06:13 +0200 Subject: Make QUuid compile with QT_NO_QUUID_STRING Task-number: QTBUG-24816 Change-Id: I0cbb0581a1c3abefdde75b7cd45fdafd31640f0d Reviewed-by: Robin Burchell --- src/corelib/plugin/quuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/plugin/quuid.cpp') 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() << ')'; -- cgit v1.2.3