PDA

View Full Version : .h file for each form in QT 3.3.5 project??



darpan
23rd March 2006, 11:53
Hi all,
I am creating a c++ project in QT3.3.5 but after compiling the project i found that .h file for each form is not present in the project folder and when in coding i include .h file of any form then it gives error.

How i can generate the .h file for each form?


Best Regards

wysota
23rd March 2006, 11:59
Uic generates them. If you use qmake it is sufficient to place those forms in the FORMS variable (for example by placing a "FORMS += form1.ui form2.ui form3.ui" entry in the .pro file). If you don't use qmake, you have to uic them yourself (try uic -help for details).