[PyKDE] Problem building PyQt, QScintilla, and eric

Gerard Vermeulen gvermeul at grenoble.cnrs.fr
Wed Mar 12 20:12:01 GMT 2003


Did you build the qtext (QScintilla) extension (means, did build.py detect
libqscintilla.so)?

Try:

[packer at venus packer]$ python
Python 2.2.2 (#1, Oct 23 2002, 12:12:09)
[GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for more information.
>>> import qtext
>>>

Gerard

On Wed, Mar 12, 2003 at 12:46:07PM -0500, WELCH,DONALD J (HP-Vancouver,ex1) 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