Build fails as ui_mainwindow.h not found
-
as @jsulm already suggested, you better install the new version and try. My suspect is that you have installed some other software which has old Qt library in path. This must be causing the issue.
-
@dheerendra
I will try to install the new version and check. -
@ru10 Qt6 uses CMake instead of QMake (thoufh you still can use QMake), so look for CMakeLists.txt file.
"And also getting ui_mainwindow.h not found" - this file is generated when you build your project, you should not edit it as your changes will disappear next time this file is generated. -
@ru10 said in Build fails as ui_mainwindow.h not found:
"How to fix ui_mainwindow.h file not found"?
@jsulm said in Build fails as ui_mainwindow.h not found:
"And also getting ui_mainwindow.h not found" - this file is generated when you build your project
Have you tried building your project? You will get these messages until you do.....