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<QString *>(sipForceConvertTo_QString(key, &iserr)); ...which will work on SIP 3 & 4. Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
