Qt Creator Clang Code Model problems collection
-
wrote on 13 Dec 2021, 10:41 last edited by 0...-5
I have upgraded QtCreator to version 6. When I opened my project session clangd run out of memory and crashed my system. Sometimes it just crashes QtCreator:
[12437.692439] Out of memory: Killed process 56361 (clangd.main) total-vm: 1033980kb, anon-ess: 564302kb, shmem-rss: 0kb, UID: 1000, pgtables: 1360kb, oom_score_adj: 0
-
This post is deleted!
-
wrote on 14 Oct 2022, 06:44 last edited by
Helo, I have also this same problem with clang. I like this plugin, because it shows me future errors before I will compile program, but I noticed issue with NO auto completion in brackets, I want to autocomplete overloaded function in child class, but this is not working, and then I need spend time to open base class and copy all inputs from virtual function.
Turn it of plugin, helps fixing that issue, but now I cant use clang compilation warnings.
I do not need turn of auto closing brackets to autocomplete inputs in side brackets. Only clang code model is somehow blocking autocompletion. Maybe another plugin is colliding with clang and maybe finding another plugin will fix that issue, and will allow to use again clang? -
wrote on 4 Jan 2023, 16:57 last edited by
Commenting to say that I had an issue that the above change also fixed.
I was receiving a repeated warning "definition of builtin function __cpuid", being caused by a file that I discovered was in clang, even though my project was meant to compile in msvc.
Thank you!
-
wrote on 22 Jan 2023, 23:41 last edited by
On Qt 6.4.x with Qt Creator 9.0.1 I'm seeing the slow as molasses response to keystrokes even with the ClangCodeModel disabled (I did restart but still no improvement. It's almost unusable as an editor since it is several - like five or six keystrokes behind and this on a pretty beefy machine.
-
-
On Qt 6.4.x with Qt Creator 9.0.1 I'm seeing the slow as molasses response to keystrokes even with the ClangCodeModel disabled (I did restart but still no improvement. It's almost unusable as an editor since it is several - like five or six keystrokes behind and this on a pretty beefy machine.
-
wrote on 11 Dec 2023, 12:04 last edited by
I am using qt-creator latest version (12.0.0) on ubuntu 20.0.4 LTS.
when using the default c++code model
and uncheckuse clangd
, I noticed that semantic issues and errors are not detected!
I must build the project to see the errors.
Any ideas how to fix the problem?? -
I am using qt-creator latest version (12.0.0) on ubuntu 20.0.4 LTS.
when using the default c++code model
and uncheckuse clangd
, I noticed that semantic issues and errors are not detected!
I must build the project to see the errors.
Any ideas how to fix the problem??wrote on 13 Dec 2023, 12:53 last edited by@Omar-Hatem, what build system are you using and which version?
-
wrote on 14 Jan 2024, 13:37 last edited by
This topic seems related, so I have a question. How can I disable adding automatic space in angle brackets so this:
object->findChild<QObject *>("abc");
Would look like this:
object->findChild<QObject*>("abc");
It's making me crazy, I couldn't find option for that anywhere.
-
wrote on 22 Jan 2024, 08:34 last edited by
could we please "unpin" this thread? quite a few things mentioned here are not relevant anymore, and the prominent place has a tendency to end up as a dumping ground for not-so-related issues.
-