src/gui/styles/qstyle.h
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/src/gui/styles/qstyle.h	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/styles/qstyle.h	Wed Aug 18 10:37:55 2010 +0300
@@ -878,7 +878,9 @@
 Q_DECLARE_OPERATORS_FOR_FLAGS(QStyle::State)
 Q_DECLARE_OPERATORS_FOR_FLAGS(QStyle::SubControls)
 
+#if !defined(QT_NO_DEBUG_STREAM)
 Q_GUI_EXPORT QDebug operator<<(QDebug debug, QStyle::State state);
+#endif
 
 QT_END_NAMESPACE