how can I create a "ui_" file manually?
-
I developed a Mac qt project,in my project,there is a ui file named 'canon.ui',after I build it, I get a 'ui_ canon.h' file in my project directory,I change some element in the 'canon.ui' file, but the 'ui_ canon.h' file does not change at all, so I delete the 'ui_ canon.h' in my project directory for get newst 'ui_ canon.h' file,but when I run the project again,it show me error:can't find the 'ui_ canon.h' file,I have try some methods:
1.'Run qmake' in my project,but it not work;now, I want add the 'ui_ canon.h' file to my project to fix the error,what should I do?
thanks a lot! -
@Princein said in how can I create a "ui_" file manually?:
now, I want add the 'ui_ canon.h' file to my project to fix the error,
No, don't do that. Generated files don't belong to the project nor under version control.
In addition to @LeLev's suggestions: Do you use shadow building?