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: pgpVknjcmBbz6.pgp
Description: PGP signature

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to