[Qt-interest] Configure QtDesigner ui.h

Thiago Macieira thiago at kde.org
Sat Sep 3 09:57:41 CEST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110903/9f8f490f/attachment.bin 


More information about the Qt-interest-old mailing list