From 9498f1aa54fefb3d1c78f5e38880607147512567 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 22 Dec 2011 13:46:15 +0100 Subject: Fix compile error with qWarning() << myDateTime and QT_NO_DEBUG_OUTPUT All QDebug operator << in custom classes were disabled by QT_NO_DEBUG_STREAM, which was set by QT_NO_DEBUG_OUTPUT. Now QT_NO_DEBUG_STREAM is never set automatically, but remains available for reducing the feature set altogether (qconfig.h). Remove check on QT_NO_TEXTSTREAM: this define is meaningless, it doesn't even undefine QTextStream, and this is unrelated to QDebug streaming anyway. Change-Id: I5eeed0144fa684d0e790e9dfd9a4aeb956218c39 Reviewed-by: Bradley T. Hughes Reviewed-by: Thiago Macieira --- tests/auto/corelib/io/io.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/corelib/io/io.pro') diff --git a/tests/auto/corelib/io/io.pro b/tests/auto/corelib/io/io.pro index e044eda1ca..13993717ac 100644 --- a/tests/auto/corelib/io/io.pro +++ b/tests/auto/corelib/io/io.pro @@ -11,6 +11,7 @@ SUBDIRS=\ qfilesystementry \ qfilesystemwatcher \ qiodevice \ + qnodebug \ qprocess \ qprocessenvironment \ qresourceengine \ -- cgit v1.2.3