I am writing my first application with Qt Creator, and I downloaded the default widget template. There mainwindow.cppis a line in #include "ui_mainwindow.h". However, this file does not yet exist. After compiling the code, I noticed that there is a file with a name in the build folder ui_mainwindow.h.
Please, can someone explain what is going on here? It seems that there may be a two-step build process, one for creating user interface files (i.e. ui_mainwindow.h), and then for creating a real program. In this case, and if this header file is placed in the assembly directory, why #include "ui_mainwindow.h"not it #include "../build/ui_mainwindow.h"?
source
share