[PyKDE] Problem compiling ui files in GPL'd Eric3

Rick Rick at zoerner.com
Fri Oct 14 22:20:46 BST 2005


Hi,  I saw the previous thread for Eric3 about a problem compiling QT designer .ui files to .py files but I don't know how to implement that solution (if that is the solution I need) on a windows system using the GPL'd PyQT stuff.

My systems are running Windows XP Professional and Windows Server 2003 on Intel hardware,
Python 2.4.2 
PyQTGPL10
Eric3snapshot2005-04-10

I have also upgraded Eric3 to 3.7.2 and again to 3.8.0 hoping to fix this problem, but it remains the same on BOTH computers using all versions of Eric3. The only "common denominator" is the GPL'd PyQT for windows.

After I've created a project with a main (test.py) file, I used QT Designer to create my first window (mainform.ui). I add the form into my project. Right-clicking on the form allows me to either "Compile Form", "Compilke All Forms" or "Generate SubClass". So far, so good, except that none of those options produces any results anywhere.

Selecting any of the options will cause the stdout/stderr screen to flash and the tab focus to change from stdout to stderr - but no file is produced, no entry exists in stdout, nothing is in stderr, and no error is raised on screen. Just nothing happens. This true for all of the selections.

About one time in 10 or so, a file WILL be produced from mainform.ui (saved as mainform.py) but every time it has happened the resulting file is empty - nothing in it.

No QTDIR is assigned in the variables in Windows - unless it has been put in the registry someplace. And I don't see a "QT" directory anywhere (except for C:\Python24\sip\qt) so I wouldn't know what path to assign to the variable if I enter it manually.

Can anyone tell me what I'm doing wrong? This looks like a great package and I'd love to get started working with it, but this is kinda holding me back...

Thanks,
-Rick 





More information about the PyQt mailing list