【QT报错解决】--warning: The build directory is not at the same level as the source directory

问题描述

在Qt(或QML)项目前一秒还能正常打开,但是我们更改一部分代码(或未更改)

再次重新编译,debug或者release都会出现如上报错。

提示如标题。

解决方案:

方案1:简单粗暴的

---疯狂的重新编译 Ctrl+R (大概四五次即可通过)

方案2:更改构建目录到当前这个项目的源码同一级

--

猜你喜欢

转载自blog.csdn.net/BenBierBa/article/details/130422636