Solved Ui or MainWindow has not been declared
-
Hello, I have a problem as seen above, the "mainwindow.h" header file is added, and the Ui :: MainWindow green color confirms this. I don't understand what the problem is. -
Hi
The UI part is declared in
#include "ui_mainwindow.h"
The normal.h include forwards it
namespace Ui { class MainWindow; }
but its first fully defined in .cpp as it includes the
#include "ui_mainwindow.h" -
@mrjj Thanks, it works.