标签: QT开发
QT去除显示的红色和黄色下划线的办法
在使用 Qt Creator 开发项目时,有时候会遇到这样的情况:
代码明明没有错误,但编辑器里却出现了红色或黄色的下划线提示,甚至让人误以为代码有问题。其实,这通常是 Qt Creator 的代码模型没有及时更新 导致的,而不是项目本身的错误……
解决QT报错:You need to set an executable in the custom run configuration
在使用 QtCreator 开发时,如果你的项目使用 CMake 构建,遇到这样一个问题:
You need to set an executable in the custom run configuration
这个问题通常出现在项目编译成功后,运行时报错。
问题描述
我在 QtCreator 中打开了一个……