[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] PyQt / sipdistutils
From: "Giovanni Bajo" <rasky () develer ! com>
Date: 2005-11-30 22:06:29
Message-ID: 000b01c5f5fa$50e57010$6a442597 () bagio
[Download RAW message or body]
plaisier@chem.leidenuniv.nl wrote:
>>> I have now worked around the problem in a quick and dirty way by
>>> copying
>> You could also derive a new class and re-implement just the
>> _sip_compile
>> method.
>
> I realize that, but I was more looking for a generic solution that
> was already implemented and that i maybe missed or wasn't aware of.
No, I don't think it was ever used before for PyQt extensions. But a clean
patch would be welcome :)
>>> sip: /usr/share/sip/qt/versions.sip:30: Exactly one of this
>>> %Timeline
>>> must be specified with the -t flag
>>>
>>> The -t flag is present (and shown on the screen).
>>
>> What's the exact value (repr) of pqconfig.pyqt_qt_sip_flags? How did
>> your modified self.spawn() call look like?
>
> The modified spawn looked like this
> self.spawn([sip_bin,
> "-c", self.build_temp,
> "-b", sbf,
> "-I", pqconfig.pyqt_sip_dir,
> pqconfig.pyqt_qt_sip_flags,
> source])
>
> pqconfig.pyqt_qt_sip_flags =
> -x Qt_STYLE_WINDOWSXP -x Qt_STYLE_CDE -x Qt_STYLE_INTERLACE -x
> Qt_STYLE_MOTIF -x Qt_STYLE_MOTIFPLUS -x Qt_STYLE_PLATINUM -x
> Qt_STYLE_SGI -x Qt_STYLE_CDE -x Qt_STYLE_INTERLACE -x Qt_STYLE_MOTIF
> -x Qt_STYLE_MOTIFPLUS -x Qt_STYLE_PLATINUM -x Qt_STYLE_SGI -x
> Qt_STYLE_WINDOWSXP -x VendorID -t WS_X11 -t Qt_3_3_0
If this is a single string, it looks like you need to split it, as spawn()
accepts separate strings for each parameter. Something like this might work:
self.spawn([sip_bin,
"-c", self.build_temp,
"-b", sbf,
"-I", pqconfig.pyqt_sip_dir] +
pqconfig.pyqt_qt_sip_flags.split() +
[source])
But then I don't know. I don't even know what %Timeline and -t are for :)
Giovanni Bajo
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic