Jasper R. Plaisier <[EMAIL PROTECTED]> wrote: > I have now worked around the problem in a quick and dirty way by copying > sipdistutils.py to pyqtdistutils.py and changing the code in > _sip_compile to the following > > def _sip_compile(self, sip_bin, source, sbf) : > import pyqtconfig > pqconfig = pyqtconfig.Configuration() > os.system(" ".join([sip_bin, > "-c", self.build_temp, > "-b", sbf, > "-I", pqconfig.pyqt_sip_dir, > pqconfig.pyqt_qt_sip_flags, > source]))
You could also derive a new class and re-implement just the _sip_compile method. > This works fine. HOwever, I had te change the self.spawn call to > os.system, because the first would stop on the error: > > 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? -- Giovanni Bajo _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde