gpt4 book ai didi

Qt创建者: "Warning: The code model could not parse an included file..."

转载 作者:行者123 更新时间:2023-12-04 13:28:08 25 4
gpt4 key购买 nike

我已经将Qt Creator更新到最新版本(4.7.0),现在在打开项目时收到此警告:

Warning: The code model could not parse an included file, which might lead to slow or incorrect code completion and highlighting, for example
xmmintrin.h:818:1: error: definition of builtin function '_mm_getcsr'
emmintrin.h:1:1: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:1:
emmintrin.h:31:10: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:31:

这是一个错误,如何解决?我在Ubuntu 16.04上。
提前非常感谢您!

最佳答案

http://blog.qt.io/blog/2018/07/18/qt-creator-4-7-0-released/指出,默认情况下,clang代码模型处于启用状态。该警告由Clang代码模型插件抛出。您可以禁用它或尝试使用早期的qt创建者(如4.6.2)

关于Qt创建者: "Warning: The code model could not parse an included file...",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52162027/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com