[Eric] Beginner's problem with PyQt4 and eric3

Detlev Offenbach detlev at die-offenbachs.de
Tue Jan 9 17:39:18 GMT 2007


On Tuesday 09 January 2007 17:38, Baptiste GRENIER wrote:
> Hello and Happy new year !
>
> I'm new to PyQt4 and I want to use Eric3 for coding.
>
> In order to setup Eric to work with PyQt4, I did follow
> http://ericide.python-hosting.com/wiki/Doc/Tutorials/PyQt1 .
> Everything seems good, in the "Programs Preferences Dialog" everything is
> there (except PyLint, the CORBA IDLE compiler and cx_freeze).
>
> My project is a QT4 project, I did create the User Interface with
> QT-Designer-4.
> After the importation of the UI files in my project, I did a "Compil forms"
> and the .py are there.
> But in the forms view of the Project Browser, the "Generate Subclass" shown
> on the context menu of ui files is greyed out and I can't use it...
>
> I'm using Eric 3.9.2 on Archlinux, but with the 3.9.4 on Gentoo, it was the
> same.
>
> Am I missing something, or is it a feature/a bug ?
>
> Thanks for any help. :)
>
> Baptiste

Hi Baptiste,

this is a feature. "Generate Subclass" is only available for Qt3 or KDE 
projects because Qt4 (and PyQt4) work a little bit different than Qt3.

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


More information about the Eric mailing list