qt中构建示例中的项目时,提示Running Windows Runtime device detection. No winrtrunner.exe found.

阅读 59

2022-01-22

今天刚好想用QT中的一个例子,玩一下,却发现一大堆错误,无论选择什么编译器总是提示

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.
D:/Qt/Qt5.14.1/5.14.1/android/mkspecs/features/toolchain.prf(76): Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: failed to parse default search paths from compiler output

如下所示
在这里插入图片描述
我看了一下,那个构建和运行的项目目录,是不对的
在这里插入图片描述
把项目目录改为当前目录就行了,编译成功!!!
在这里插入图片描述

精彩评论(0)

0 0 举报