Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compile Qt UI file?

Tags:

qt

How do you compile the UI files to generate the Headers? Is there another way then having the Qt project mirror the visual studio project and compiling with Qt to get them? I guess I could have a bat file or something that does it. What needs to be run to generate the header files from the UI?

like image 970
user230821 Avatar asked Dec 23 '22 07:12

user230821


1 Answers

You have to use uic on the .ui file. This will give you the .h and the .cpp. Normally you reimplement the classes generated by this step, basically considering them abstract.

like image 163
Stefano Borini Avatar answered Jan 16 '23 04:01

Stefano Borini