I am trying to build Qt 4.1.0 X11/commercial version on Solaris 7/Forte 7. I am using "configure -plugin-sql-tds -release -fast". I get an error while qmake is building.

/../src/corelib/io/qdebug.h", line 120: Error: Overloading ambiguity between "op
erator<<(QDebug, const QVariant&)" and "QDebug:perator<<(bool)".
1 Error(s) detected.
make: *** [qvariant.o] Error 1

I have installed all of the patches required for Sun Studio 7 as mentioned on the trollech website.

Any thoughts?

TIA.