[Eric] PyQt4 code completion in Eric
Detlev Offenbach
detlev at die-offenbachs.de
Mon Apr 28 18:22:57 BST 2008
Hi,
All API files should go into the directory configured by QScintilla2. On my
openSUSE 10.3 box it is "/usr/share/qt4/qsci/api/...". Maybe Ubuntu adopted
this convention.
Detlev
On Sonntag, 27. April 2008, objectref wrote:
> Hi,
>
> i am experimenting same problem in Ubuntu 8.04. The distro already
> contained pyqt4, so I used synaptic package manager to install
> eric-api-files but i still do not have the "/usr/share/eric/APIs/" location
> on my hard disk.
>
> Should i make something else to get them ?
>
>
>
> Andrea Grandi wrote:
> Hi,
>
> I finally was able to enable code completion for PyQt4 classes. They
> were in another location, not parsed by Eric, they are all installed
> in /usr/share/eric/APIs/ and they're provided by this package on
> Ubuntu: eric-api-files
>
> Anyway I've to notice a little bug: In Editor -> Autocompletion, it
> doesn't make difference if I enable "Case Sensitive" or not, in both
> cases I need to type code in the correct case to have it
> auto-completed. Is this a known bug?
>
> Thanks for your help!
>
> 2008/4/26 Andrea Grandi <a.grandi at gmail.com>:
>
> Hi,
>
> > > I cannot see PyQT4. Where can I get them?
> > >
> > > Thanks for your help.
> >
> > The PyQt4 API files are part of the PyQt4 package. However, they are
> > only generated and installed, if QScintilla2 was installed before PyQt4.
>
> I've removed all eric4 related packages from my Ubuntu. I've installed
> them in this order:
>
> 1) qscintilla
> 2) pyqt4
> 3) eric4
>
> but PyQt4 api is not available yet.... is this a packaging problem?
>
>
>
> --
> Andrea Grandi
> email: a.grandi [AT] gmail [DOT] com
> website: http://www.andreagrandi.it
> PGP Key: http://www.andreagrandi.it/pgp_key.asc
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list