[PyKDE] PyQt / sipdistutils
plaisier at chem.leidenuniv.nl
plaisier at chem.leidenuniv.nl
Wed Nov 30 19:54:54 GMT 2005
Quoting Giovanni Bajo <rasky at develer.com>:
> Jasper R. Plaisier <plaisier at 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.
> > 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
The strange thing was, that when "python setup.py install" was run, it would
show the command being run on the console and then exit in error. However, when
I "cut and paste" this command from the console and run it in the same console
from the command line it would run fine. Also using os.system seems to do the trick.
Jasper
-------------------------------------------------
This mail sent using the Science Webmailer at Leiden University, The Netherlands
More information about the PyQt
mailing list