[PATCH] Fixing kdebug

Allen Winter winter at kde.org
Tue Jul 24 20:54:19 BST 2007


Howdy,

The new kdebug has just caused too many problems for me
to handle and Lubos isn't here to help.

And, Thiago and Dirk would rather see QDebug based implementation.

So I will be reverting this patch in a little bit.  After my test compile finishes.
Sorry for all the trouble this caused. 

-Allen


On Tuesday 24 July 2007 6:20:37 am Thomas Zander wrote:
> 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);
> 



-- 
KDEPIM Developer
I accept PayPal payments to awinterz at earthlink.net




More information about the kde-core-devel mailing list