[PyKDE] error generating source for qt module

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jul 16 01:14:01 BST 2004


I suspect you have an older version of the sip executable lying around, one 
that doesn't understand the number after the module name.

Look at the value of sip_bin in site-packages/sipconfig.py and run the binary 
with the -V flag to see if it what you expect.

Phil

On Thursday 15 July 2004 11:50 pm, Jason Veatch wrote:
> I've got SIP v4.0.1, and PyQt v3.12. Line 23 of
> qtmod.sip is "%Module qt 0". It is the first line of
> code in qtmod.sip, the preceding lines are comments.
>
> Jason
>
> --- Phil Thompson <phil at riverbankcomputing.co.uk>
>
> wrote:
> > On Thursday 15 July 2004 10:50 pm, Jason Veatch
> >
> > wrote:
> > > I'm trying to install PyQt but have run into a
> >
> > problem
> >
> > > and would appreciate any help. I installed SIP and
> > > everything went fine there, but when I tried to
> > > install PyQt I ran into an error. The last three
> >
> > lines
> >
> > > of output were:
> > >
> > > Generating the C++ source for the qt module...
> > > sip: sip/qt/qtmod.sip:23: syntax error
> > > Error: Unable to create the C++ code.
> > >
> > > What should I do? My computer is running Fedora
> >
> > Core
> >
> > > 2, if that makes a difference. Thanks!
> >
> > What version of SIP?
> >
> > What version of PyQt?
> >
> > What is line 23?
> >
> > Phil
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




More information about the PyQt mailing list