Version: unspecified (using Devel) OS: Linux When Calligra is build against Qt 4.8, the following error is generated : /usr/src/packages/BUILD/calligra-2.3.79.git20110607/plugins/chartshape/kdchart/src/KDChartBackgroundAttributes.cpp:153:26: error: ambiguous overload for 'operator<<' in '(&(& operator<<(QDebug, const QBrush&)((*(const QBrush*)(& KDChart::BackgroundAttributes::brush() const()))).QDebug::operator<<(((const char*)"pixmapmode=")))->QDebug::operator<<(((int)(& ba)->KDChart::BackgroundAttributes::pixmapMode())))->QDebug::operator<<(((const char*)"pixmap=")) << KDChart::BackgroundAttributes::pixmap() const()' /usr/src/packages/BUILD/calligra-2.3.79.git20110607/plugins/chartshape/kdchart/src/KDChartBackgroundAttributes.cpp:153:26: note: candidates are: /usr/include/QtCore/qvariant.h:606:22: note: QDebug operator<<(QDebug, const QVariant&) /usr/include/QtGui/qbrush.h:171:21: note: QDebug operator<<(QDebug, const QBrush&) make[2]: *** [plugins/chartshape/kdchart/src/CMakeFiles/kdchart.dir/KDChartBackgroundAttributes.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/calligra-2.3.79.git20110607/build' make[1]: *** [plugins/chartshape/kdchart/src/CMakeFiles/kdchart.dir/all] Error 2 Building against Qt 4.7 goes fine. Reproducible: Always Steps to Reproduce: 1. Install Qt 4.8 2. Compile Calligra
It would be better to report such errors to Qt people so they could tell you if it's a Qt problem and if not, how to fix the code to support Qt 4.8. Most developers use Qt 4.7 and not 4.8 yet. Maybe also use the build system mailing list instead, it would really be more useful.
https://bugreports.qt.nokia.com//browse/QTBUG-19703 - closed as invalid as there's no QDebug operator<<(QDebug, const QPixmap&), still I don't get it as I can't find one in 4.7 branch...
And fixed in calligra master: http://quickgit.kde.org/?p=calligra.git&a=commit&h=accabfeac22e869e5a248a764a64096d107e4c7c