PDA

View Full Version : How to get ui_xxx.h from xxx.ui files in manner of command line?



greenoaktree
21st January 2008, 07:10
I am a beginner of QT 4.When I created a dialog named editdialog.ui in QT Designer,and using qmake -project produces a .pro file.
Then i import this .pro file into QT Eclipse,I find that it automatically generate a ui_editdialog.h.
I want to know how the IDE do this?Can i make it just by command line?

anonyme_84
21st January 2008, 08:19
Hi,

To generate your ui_xxxx.h files by command line, use the User Interface Compiler( UIC )
http://doc.trolltech.com/4.3-snapshot/uic.html

Bye...

ashukla
21st January 2008, 10:37
Also, you can use following command on terminal in Unix.
uic ui_xxx.h xxx.ui