[Qt-interest] Configure QtDesigner ui.h

Jos Collin joscollin at gmail.com
Sat Sep 3 10:36:16 CEST 2011


Btw, Is it possible to run the code from the QtDesigner?. I haven't find
such an option yet.

On Sat, Sep 3, 2011 at 1:27 PM, Thiago Macieira <thiago at kde.org> wrote:

> On Saturday, 3 de September de 2011 12:10:31 Jos Collin wrote:
> > So I cannot configure QtDesigner to use my dialog.cpp itself. Okay, but
> > there is another way of doing it. I can stop the ui designing (using
> > QtDesigner) at a certain point, copy all the code in dialog.ui.h to
> > dialog.cpp or a derived class of "dialog" and then edit and execute the
> code
> > from the command-line. But this prevents using QtDesigner again, later
> on.
>
> Yes. I don't know why you would do this.
>
> If you run uic from the command-line, you can tell it to generate code into
> a
> .cpp. But qmake won't support this directly.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>   Software Architect - Intel Open Source Technology Center
>      PGP/GPG: 0x6EF45358; fingerprint:
>      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110903/05bd4ecc/attachment.html 


More information about the Qt-interest-old mailing list