今天刚好想用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
如下所示
我看了一下,那个构建和运行的项目目录,是不对的
把项目目录改为当前目录就行了,编译成功!!!