[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] pyuic doesn't import kde modules
From:       Sebastian =?iso-8859-1?q?K=FCgler?= <sebas () kde ! nl>
Date:       2005-04-07 13:50:57
Message-ID: 200504071551.04786.sebas () kde ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday 07 April 2005 15:29, Diez B. Roggisch wrote:
> > As $subject says, pyuic does not seem to be aware of the fact that kde
> > modules are needed when compiling .ui files that are using KDE widgets.
> > To reproduce it:

> > I came across this when designing a GUI (d'oh!), as soon as I added the
> > first KDE widget, I had to manually add the missing includes before I was
> > able to test. Did I miss something?
>
> In qt-designer you can add a form-comment that starts with Python: - all
> that follows will be copied literally into the generated source. So that's
> the place to put import kde statements. No idea how that works with
> kdevdesigner, didn't use it. But if its based on qt-designer, it will work.

Thanks, exactly what I was looking for!

Cheers,

sebas
-- 
  http://vizZzion.org   |   GPG Key ID: 9119 0EF9 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Experience is directly proportional to the amount of equipment ruined.


[Attachment #5 (application/pgp-signature)]

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic