Suppose I have the file about.ui. How can I make the \"about.h\" and the \"about.cpp\" from my .ui file?
if you are using qt creator in windows, just right click your project and click execute qmake, then it will generate a ui_xxx.h and you can add #include ui_xxx.h in your file.
ui_xxx.h
#include ui_xxx.h