[PyKDE] Problem building PyQt, QScintilla, and eric

Greg Fortune lists at gregfortune.com
Wed Mar 12 19:01:01 GMT 2003


You'll want to build and install qscintilla before building sip.

General upgrade order:

1) build/install qscintilla
2) build/install sip
3) build/install PyQt
4) go to bed
5) wake up in the morning.  Congrats.  PyQt is done ;o)
6) build/install eric

Greg


On Wednesday 12 March 2003 09:46 am, you wrote:
> Hello,
>
> I'm having a problem getting PyQT compiled with Qscintilla support. I am
> running RH8.0 and Python 2.2.1. Here are the steps I took:
> (BTW, these are not the versions of SIP and PyQt that ship with RH8.0. I am
> trying to update to the latest becuase of the image collection bug that
> existed in the shipped version.)
>
> 1. Build SIP (sip-x11-gpl-3.5) using: python build.py -lqt-mt
>
> 2. SIP builds OK and reports the following info:
>  /usr/lib/python2.2/site-packages is the SIP install dir
>  /usr/include/python2.2 contains Python.h
>  /usr/lib/qt3-gcc3.2 is the base Qt dir
>  /usr/lib/qt3-gcc3.2/include contains qglobal.h
>  Qt 3.0.5 free edition is being used
>  /usr/lib/qt3-gcc3.2bin/qmake will be used for Makefiles
>  Qt thread support is enabled
>
> 3. Build qscintilla (qscintilla-1.49-x11-gpl-0.3) using in qt directory
> using: qmake -o Makefile qscintilla.pro, make, copy headers and .qm files
> to $QTDIR area. Works OK.
>
> 4. Build PyQt (PyQt-x11-gpl-3.5) using: python build.py, make, make
> install.
>
> 5. Builds OK. Test PyQt install with some sample apps and works fine. Image
> file bug is fixed, so I know the new version of PyQt is there.
>
> 6. Try to install eric (eric-3.0.1) using: python install.py
>
> 7. Eric reports error:
>  Sorry, please install QScintilla and/or reinstall
>  PyQt with QScintilla support.
>
> Am I missing a step or configuration setting? How do you tell PyQt to
> include QScintilla support? I didn't see any mention of it in the PyQt
> instructions or FAQ.
>
> All help will be much appreciated!
>
> Thanks,
>
> Don




More information about the PyQt mailing list