qt 创建/打开项目只显示 .pro 文件,报错

1、如题:

图片说明

报错信息:

Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/mkspecs/features/toolchain.prf(76): Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: failed to parse default search paths from compiler output
Error while parsing file G:\untitled\untitled.pro. Giving up

2、选择不同的 kit 都没用

3、原来正常打开/编辑的项目忽然打不开了

解决了吗?遇到和你同样的问题

我也是这样

你解决没有,或者问题困扰好几天了

可能是项目的存储路径中有中文。

刚刚解决,出去更新一下GCC就行了