![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
qt
文章平均质量分 92
QTVLC
这个作者很懒,什么都没留下…
展开
-
qtcreator 5.9.8中新建项目,手动添加了Features类,之后有很多error: missing binary operator before token “(“报错
qtcreator 5.9.8中新建项目,手动添加了Features类,之后有很多error: missing binary operator before token "("报错/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:44: error: missing binary operator before token “(”#if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)^原创 2020-11-26 09:20:02 · 6957 阅读 · 2 评论 -
Qt5.9.8 creater警告:the code model could not parse an included file
the code model could not parse an included file,which might lead to incorrect code completion and highlighting,for example 解决办法:帮助-->关于插件-->C++-->ClangCodeModel的勾去掉即可 注意,去掉之后一定要重启Qt Creator 出现的原因: CreateMenu.h中定义如下: #ifndef CREATEMENU_H#def转载 2020-11-26 09:02:21 · 426 阅读 · 0 评论 -
关于qt中的子线程操作ui组件(label,pushbutton,widget等)
一个ui中,在子线程中直接调用函数,操作ui组件,出现ui程序崩溃的现象。咨询专业ui工程师,不建议在子线程中,直接操作ui组件,会导致出现段错误。建议使用信号槽方式,在子线程中发送信号,触发主线程的槽函数对ui组件操作。经过测试,暂时没有再出现崩溃现象。...原创 2020-05-06 11:47:15 · 1457 阅读 · 0 评论 -
QtCreator构建套件时出现黄色和红色叹号
在构建套件时手动指定了Kit的Qt版本与GCC版本,结果还是出现红色叹号:原以为是Qt版本与GCC不匹配造成的,后来测试发现两者都正常,按理说不应该是兼容问题,后来把鼠标放到叹号上才找到了...转载 2020-04-17 10:26:31 · 6624 阅读 · 0 评论