From pykde Thu Apr 29 06:44:39 2004 From: Phil Thompson Date: Thu, 29 Apr 2004 06:44:39 +0000 To: pykde Subject: Re: [PyKDE] PyKDE-3.11alpha7 bug (KDE3.2.x, sip 3.10.1) Message-Id: <200404290744.40802.phil () riverbankcomputing ! co ! uk> X-MARC-Message: https://marc.info/?l=pykde&m=108322123703544 On Thursday 29 April 2004 6:54 am, Jim Bublitz wrote: > In PyKDE-3.11alpha7 there is one bug that will prevent compiling > on sip 3.10.1. > > In kdecore/kmacroexpander.sip, change line 218: > > 218: sipConvertTo_QString (key, (void **)&sKey, &iserr); > > to: > > #if SIP_VERSION >= 0x040000 > sipConvertTo_QString (key, (void **)&sKey, &iserr); > #else > sipConvertTo_QString (key, &sKey, &iserr); > #endif > > This only applies for KDE >= 3.2.0 and doesn't affect releases > before alpha7. I would suggest the following instead... sKey = reinterpret_cast(sipForceConvertTo_QString(key, &iserr)); ...which will work on SIP 3 & 4. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde