The path relationship between QT6 project files and compiled files
The following is the project status displayed
It is possible that all compiled files have been deleted, or some of them are missing.
What to do after compilation problems occur
Delete the content added when compiling the project. Mainly modify the content added in CMakeLists.txt , such as the added path or resource content. You can comment it out first and then compile it.