[PyKDE] Problem compiling ui files in GPL'd Eric3
Detlev Offenbach
detlev at die-offenbachs.de
Sat Oct 15 09:05:27 BST 2005
Hi,
you have two possibilities.
First, set the environment variable QTDIR to point to the directory containing
your Qt installation. Second, open the eric3 Preferences Dialog, Qt page and
enter the path to your Qt installation there. You may also check the checkbox
found on this page.
Please, don't use this very old snapshot of mid April. Please either get 3.7.2
or 3.8.0-rc1
Regards,
Detlev
Am Freitag, 14. Oktober 2005 23:20 schrieb Rick:
> 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
>
>
> _______________________________________________
> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list