diff -r 5dc02b23752f -r 3e2da88830cd src/gui/styles/qstyle.h --- 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