QT提示:error: error writing to -: Invalid argument 原因:工程文件夹下中间文件寄存目录:Release 和 Debug文件夹 故在工程文件夹下新建两个Release 和 Debug文件夹即可解决。