PyQT-2.3 compile fails...

Pierre Fortin pfortin at pfortin.com
Wed Mar 14 09:50:42 EST 2001


Boudewijn Rempt wrote:
> 
> Pierre Fortin <pfortin at pfortin.com> wrote:
> > Hi,
> 
> > Anyone have a clue as to why others can compile PyQT-2.3; but I get errors...?
> > I've also tried the CVS files...
> 
> > I'd hate to think this is a symlink related problem:
> > /usr/local/src --> /hd/b6/src
> 
> > Thanks,
> > Pierre
> 
> > # make
> > make  all-recursive
> > make[1]: Entering directory `/hd/b6/src/Python/PyQt-2.3'
> > Making all in qt
> > make[2]: Entering directory `/hd/b6/src/Python/PyQt-2.3/qt'
> > /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
> > -I/usr/local/include/python2.0 -I/usr/local/include/sip -I/usr/local/qt/include
> > -I/usr/X11R6/include  -fno-exceptions -O2 -c sipqtQString.cpp
> > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.0
> > -I/usr/local/include/sip -I/usr/local/qt/include -I/usr/X11R6/include
> > -fno-exceptions -O2 -Wp,-MD,.deps/sipqtQString.pp -c  -fPIC -DPIC
> > sipqtQString.cpp -o sipqtQString.lo
> > sip/qstring.sip: In function `int sipConvertTo_QString(PyObject *, QString **,
> > int, int *)':
> > sip/qstring.sip:456: no matching function for call to `QString::setUnicodeCodes
> > (short unsigned int *&, int &)'
> > make[2]: *** [sipqtQString.lo] Error 1
> > make[2]: Leaving directory `/hd/b6/src/Python/PyQt-2.3/qt'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/hd/b6/src/Python/PyQt-2.3'
> > make: *** [all-recursive-am] Error 2
> 
> Has sip been compiled with Qt support? Do you have a Qt > 2.x?

I would hope so...  ./configure --help gives:
  --enable-qt             enable Qt signal/slot support [default=yes]

I picked up all the *-2.3 stuff from TrollTech before starting any compiles...
sip & qt were made/installed without problem.  

Thanks,
Pierre          

> --
> 
> Boudewijn Rempt  | http://www.valdyas.org

-- 
Linux (Up 26 days) -- Reboots are for system upgrades... not Windows X^P
Last reboot reason:  02/14/01: testing startup changes for DSL



More information about the Python-list mailing list