Make QUuid compile with QT_NO_QUUID_STRING without breaking QDebug <<
authorJeremy Katz <jeremy.katz@nokia.com>
Mon, 18 Jun 2012 22:18:09 +0000 (00:18 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jun 2012 10:38:32 +0000 (12:38 +0200)
commita8cbd3a5277494c29b2a8cd7c428b5cd4c602eae
tree95e6516f74debe7d8e0354fb9cf87ce784760d14
parent23e3c703a1ea36083b05f1296e823162c8d24bd5
Make QUuid compile with QT_NO_QUUID_STRING without breaking QDebug <<

Change I0cbb0581a1c3abefdde75b7cd45fdafd31640f0d breaks the use of
operator<< for QDebug, which shows up when trying to link QtCore in
the small qconfig.

Instead, render QUuid as "QUuid(QT_NO_QUUID_STRING)".

Task-number: QTBUG-24816

Change-Id: Ia52283d7461a9907bcec7a110e41c9f830895efe
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
src/corelib/plugin/quuid.cpp