[PyKDE] Compiling PyKDE 3.11.3 on Solaris 8 fails

Hans-Peter Jansen hpj at urpla.net
Tue Mar 1 13:49:22 GMT 2005


On Tuesday 01 March 2005 13:43, Holger Joukl wrote:
> I tried the following:
> 1.
> 209      const QValueList<long int>& pids () const;
> gives me
> ...
> Generating the C++ source for the kdecore module...
> sip: sip/kdecore/kstartupinfo.sip:209: syntax error
> Error: Unable to create the C++ code.
> ...
>
> 2.
> 209      const QValueList<long>& pids () const;
> gives me
> ...
> Generating the C++ source for the kdecore module...
> sip: KStartupInfoData::pids() unsupported function return type -
> provide %MethodCode and a C++ signature
> Error: Unable to create the C++ code.
> ...
>
> 3.
> 209      const QValueList<pid_t>& pids () const;
> gives me
> ...
> Generating the C++ source for the kdecore module...
> sip: KStartupInfoData::pids() unsupported function return type -
> provide %MethodCode and a C++ signature
> Error: Unable to create the C++ code.
>
> ==> This does not work. Guess there is probably a place where I
> would have to "register" QValueList<long>?

Yup, it's not used anywhere else, thus it's missing. Look into 
PyQt/sip/qt/qvaluelist.sip:%MappedType QValueList<int>
to get an idea, what is needed. Probably your variant a) is easier for 
now..

Pete

P.S.: Sorry, I couldn't resist on making you aware of this page:
      http://www.goldmark.org/jeff/stupid-disclaimers/
      And for all, who haven't laughed today:
      http://www.goldmark.org/jeff/stupid-disclaimers/fun.html
      Beware, reading this text may fill your eyes with tears, 
      up to the impossibility to follow it to it's end in one go! 
      You have been warned...




More information about the PyQt mailing list