[PyKDE] Problem building PyQt, QScintilla, and eric (reprise)

Phil Thompson phil at river-bank.demon.co.uk
Wed Mar 12 23:36:01 GMT 2003


On Wednesday 12 March 2003 9:28 pm, WELCH,DONALD J (HP-Vancouver,ex1) wrote:
> OK, thanks to some pointers from some of you and an earlier thread on this
> mailing list, I get past my first QScintilla problem. I followed this
> advice:
>
> http://mats.gmd.de/pipermail/pykde/2003-March/004747.html
> <http://mats.gmd.de/pipermail/pykde/2003-March/004747.html>
>
> and added $QTDIR/lib to /etc/ld.so.conf (shouldn't the build process handle
> this somehow?)
>
> ...and got qtext with qscintilla support to import properly. However, now I
> have another problem.
>
> When I run the eric installer now, I get:
>
> Sorry, you must have PyQt 3.6 or snapshot-20021217 or higher.
>
> PyQt 3.6 doesn't seem to exist, so I downloaded the following:
>
> sip snapshot 20030306
> pyqt snapshot 20030309
> qscintilla 20030309
>
> When I try to compile qscintilla, I get the following error:
>
> g++ -c -pipe -w -I/usr/include/fontconfig -I/usr/include/Xft2 -O2
> -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fno-exceptions -D_REENTRANT
> -fPIC  -DQEXTSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I../include -I../src -I/usr/lib/qt3-gcc3.2/include
> -I/usr/lib/qt3-gcc3.2/mkspecs/default -o ScintillaQt.o ScintillaQt.cxx
> ScintillaQt.cxx: In constructor `QtCallTip::QtCallTip(CallTip*)':
> ScintillaQt.cxx:459: `WStyle_Splash' undeclared (first use this function)
> ScintillaQt.cxx:459: (Each undeclared identifier is reported only once for
> each
>    function it appears in.)
> make: *** [ScintillaQt.o] Error 1
>
> Any ideas? Is all this new stuff compatible with Qt 3.0.5? Is it time to
> give up and use vi? 8^)

Replace WStyle_Splash with...

WStyle_NoBorder|WStyle_StaysOnTop|WX11BypassWM

I'll fix it for the next snapshot.

Phil




More information about the PyQt mailing list