[PyKDE] eric3 + MacOS X + qt designer.app

Detlev Offenbach detlev at die-offenbachs.de
Sat May 15 11:57:01 BST 2004

Am Mittwoch, 12. Mai 2004 05:01 schrieb Boris Gordon:
> Greetings -
> I am very happy that eric3 is now running great on my mac but I would
> like to try to solve a problem with qt designer integration.
> How can I integrate qt designer ($QTDIR/bin/designer.app/ package on
> mac) with eric3 ?  I can create a shell script that launches designer
> using the open command but can't get anymore integration than this (ie
> when I double click on a form in a project it will launch designer but
> not open the form i clicked.  I can't seem to pass command line
> arguments to designer.app.

Please try the following.

In the File UI/UserInterface.py in the method "handleDesigner" please add 
the following lines after if statement testing for win32.

elif sys.platform == "darwin":
    designer = designer + '.app'

Maybe you have to adjust the second line. Unfortunately I am unfamiliar 
with Mac OSX.

Detlev Offenbach
detlev at die-offenbachs.de

More information about the PyQt mailing list