From kde-core-devel Tue Jul 24 19:54:19 2007 From: Allen Winter Date: Tue, 24 Jul 2007 19:54:19 +0000 To: kde-core-devel Subject: Re: [PATCH] Fixing kdebug Message-Id: <200707241554.19391.winter () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=118530691331625 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 ) > > * 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 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@earthlink.net