Generate .h and .cpp from .ui file
Suppose I have the file about.ui . How can I make the "about.h" and the "about.cpp" from my .ui file? I have to create a .moc file too? How can I compile this after the creaton to see if all ocurred correctly? If automatic generation does not work (like in my case) you can use uic to generate the header file manually. uic file.ui > file.h You don't. The about.ui generates a ui_about.h which you include in your own about.h You then create you own class deriving from this class class about : public QDialog, public Ui::about { Q_OBJECT; .... } Short answer: In QtCreator there are two ways of