[PyKDE] PyQt and QScintilla2

Detlev Offenbach detlev at die-offenbachs.de
Sun Oct 8 15:26:24 BST 2006


On Sunday 08 October 2006 15:29, Ismail Donmez wrote:
> 08 Eki 2006 Paz 15:54 tarihinde, Detlev Offenbach şunları yazmıştı:
> > On Sunday 08 October 2006 14:26, Ismail Donmez wrote:
> > > 08 Eki 2006 Paz 14:33 tarihinde, Ismail Donmez şunları yazmıştı:
> > > > Hi,
> > > >
> > > > I downloaded PyQt-x11-gpl-3-snapshot-20061006.tar.gz and it still
> > > > looks for qextscintillaglobal.h header which does not exist in
> > > > QScintilla2 package. Now I wonder QScintilla2 supports both Qt3 and
> > > > Qt4 but PyQt still depends on qscintilla1 for QText ?
> > >
> > > Or let me put it this way, how do I get Eric3 to use QScintilla2? :)
> >
> > Not at all. eric3 is not prepared to work with QScintilla 2 because the
> > API is different. Maybe there will be an eric3 3.10.x some time in the
> > future. If you have to use just QScintilla 2 (both QScintilla variants
> > can live side by side), you have the option to get an eric4 snapshot.
> > Please be aware, that eric4 is to be considered alpha and requires
> > QScintilla 2.
>
> Thanks I am trying to get eric4 with QScintilla2 but it can't seem to find
> QsciAPIs, I mailed Phil thinking this is a problem with snapshot but this
> might be a local build problem instead though I don't know how it can
> happen:
>
>  File "/usr/lib/python2.4/site-packages/eric4/ViewManager/ViewManager.py",
> line 14, in ?
>     from PyQt4.Qsci import QsciAPIs, QsciScintilla
> ImportError: cannot import name QsciAPIs
>

Oops, I forgot to mention, that the eric4 snapshot is not compatible with the 
latest QScintilla2 snapshot. Phil changed the Autocompletion API quite a bit 
and I hadn't had time to change eric4 accordingly. Furthermore, there might 
be more changes coming in QScintilla2 and I would like to wait until the AC 
API has stabalized.

Sorry for the bad news.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list