summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/UUID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/UUID.cpp')
-rw-r--r--WebCore/platform/UUID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/UUID.cpp b/WebCore/platform/UUID.cpp
index faad008..5c2e076 100644
--- a/WebCore/platform/UUID.cpp
+++ b/WebCore/platform/UUID.cpp
@@ -55,7 +55,7 @@ static const int uuidVersionIdentifierIndex = 14;
String createCanonicalUUIDString()
{
-#if PLATFORM(QT)
+#if PLATFORM(QT) && !defined(QT_NO_QUUID_STRING)
QUuid uuid = QUuid::createUuid();
String canonicalUuidStr = uuid.toString().mid(1, 36).toLower(); // remove opening and closing bracket and make it lower.
ASSERT(canonicalUuidStr[uuidVersionIdentifierIndex] == uuidVersionRequired);