QT6 deletes the old compilation files, compilation will cause errors, you can choose to re-select compilation

The path relationship between QT6 project files and compiled files

Insert image description here

The following is the project status displayed

It is possible that all compiled files have been deleted, or some of them are missing.
Insert image description here

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.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_43794311/article/details/132656655