Build fails as ui_mainwindow.h not found
I am new to QT and working on 5.6.
I am not able to buikd my code as ui_mainwindow.h not found error is coming.
Hi and welcome to devnet forum
You need to give more information on your setup OS, compiler and also IDE.
When using Qt creator as an IDE, can you simply create GUI app based on the templates provided. This should be ready for compile and running.
@trinhtiet Do you have a mainwindow.ui form? If so it sounds like it is not being included in your project and therefore ui_mainwindow.h is never created.
Make sure you have
FORMS += mainwindow.uiin your .pro file.