Make QUuid compile with QT_NO_QUUID_STRING
Task-number: QTBUG-24816 Change-Id: I0cbb0581a1c3abefdde75b7cd45fdafd31640f0d Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
parent
486601fbc4
commit
abe4b31713
@ -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() << ')';
|
||||
|
Loading…
Reference in New Issue
Block a user