QT错误main.o: error: file not recognized: File truncated 出现错误D:\QT_CODE\build-beautysoft-Desktop_Qt_5_8_0_MinGW_32bit-Debug\debug\main.o: error: file not recognized: File truncated 只需找到对应目录下的.o文件,把它删掉,再次运行即可