Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.0
-
None
-
linux, gcc4
-
4e2eb2945dbc3865e2901f12d663ed89e8f0dfbf, 633349982422fec92df4ed06da5d2becf788c494
Description
In certain circumstances, the following line causes compile problem:
src/gui/styles/qstyle.h
Q_GUI_EXPORT QDebug operator<<(QDebug debug, QStyle::State state);
src/gui/styles/qstyleoption.h
Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption::OptionType &optionType);
Q_GUI_EXPORT QDebug operator<<(QDebug debug, const QStyleOption &option);
Possible resolution is adding a wrapper:
#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_DEBUG)
Q_GUI_EXPORT QDebug operator<<(QDebug debug, QStyle::State state);
#endif