[PATCH] Fixing kdebug
Thomas Zander
zander at kde.org
Tue Jul 24 11:20:37 BST 2007
On Tuesday 24 July 2007 10:44:08 Thomas Zander wrote:
> In KOffice I had 2 compile errors due to this;
>
> * QPair isn't supported (I was using a QPair<QString, QString> )
> * It used to be possible to pass a struct (by reference at least) and
> let kdebug print all members. (ints/QStrings)
>
> for reference the usages;
> koffice/libs/flake/KoShapeRegistry.cpp:90, 140
> koffice/krita/image/metadata/kis_meta_data_store.cc:154
And two more;
QVector<QPointF> bcwpPoints_display;
kDebug()<< k_funcinfo << bcwpPoints_display <<
QPolygonF(bcwpPoints_display) << endl;
The vector itself and the polygonf both don't compile.
I get a compile error in
koffice/filters/krita/libkisexiv2/kis_exif_io.cpp:351
which uses a line defined in;
koffice/krita/image/metadata/kis_meta_data_value.h
KRITAIMAGE_EXPORT QDebug operator<<(QDebug dbg, const KisMetaData::Value
&v);
--
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070724/ef637df0/attachment.sig>
More information about the kde-core-devel
mailing list