[PyKDE] Compiling PyKDE 3.11.3 on Solaris 8 fails
Hans-Peter Jansen
hpj at urpla.net
Tue Mar 1 12:03:24 GMT 2005
On Tuesday 01 March 2005 12:07, Holger Joukl wrote:
> I think the problem is
>
> sipkdecorepart0.cpp: In function `struct PyObject *
> meth_KStartupInfoData_pids(PyObject *, PyObject *)':
> sipkdecorepart0.cpp:48629: type `const QValueList<int>' is not a
> base type for type `const QValueList<long int>'
>
> which seems to result from how the KStartupInfo::pids method is
> defined in PyKDE-3.11.3/sip/kdecore/kstartupinfo.sip:
> 207 public:
> 208 //force
> 209 const QValueList<int>& pids () const;
> 210 //end
> 211
> 212 }; // class KStartupInfoData
> The actual KDE method signature is "const QValueList< pid_t >&
> pids() const;", and pid_t is typedef´ed to long
> on my machine.
> int and long are the same for 32bit
> I guess I
> a) could remove the method from kstartupinfo.sip
> b) Modifiy the generated code and cast
Why not modify the method to return the matching type in
kstartupinfo.sip, aka:
209 const QValueList<long int>& pids () const;
and let us know, if that helped.
Cheers,
Pete
More information about the PyQt
mailing list