Home > Back-end > Qt to recompile the UI file, before will be automatically generated ui_ *. H file cover, the content
Qt to recompile the UI file, before will be automatically generated ui_ *. H file cover, the content
Time:10-20
Reason: Because of fully using the code interface efficiency is lower, and make use of Qt Designer interface, although can raise efficiency, but some things on the surface of the lower boundary effect and interaction not good full support, so want to use Qt Designer draw the interface of the control and the layout, and some special effect and interaction in making the UI files generated ui_ *. H file, and then drawn through code realization,
Question: UI files automatically generated ui_ *. H file, will at the next compile UI file are covered, so once there is interface of control or to modify the layout of compiling the UI file, before adding the code will be lost, so want to ask, what is good working method, can solve this problem?
CodePudding user response:
Search "pre-populated event command line"
CodePudding user response:
UI. H generally does not need to be modified... Well, I haven't changed.