Where is ui_mainwindow.h in Qt designer
It seems that not all generated file are part of project files which are viewed with designer.
, for example: ui_mainwindow.h .
Is there any way to add these files , or is it on purpose ?
It's a generated file, and as such it's not shown in Creator. As for the Designer it has no ability to open C++ source files, only it's own
The ui_xxx files are generated by the uic.exe tool
by reading UI files. they are not included into the project file but
referenced from the cpp file. Like
This is as intended. You should have no need to add or alter them.