Usability of Qt Creator's Clang code model
-
@JonB said in What approach do you take for dialogs where an action is to be performed?:
Takes QtCreators completer up to 20 secs, when you type
ui->
That I would find unacceptable! And even 15k lines presumably is not the full cause?
No, most of that is from the huge line count in combination with the new clang code model. That was introduced into QtCreator in one of the latest updates.
Before that it was ok-ish since than I get 100% cpu load with
clangbackend
when I modify, simply typing is enough, that particular class/project. -
@J.Hilk said in What approach do you take for dialogs where an action is to be performed?:
That was introduced into QtCreator in one of the latest updates.
You can disable clang code model by disabling the plugin (Help->About plugins...), that will enable the old code model for you,
-
hi @sierdzio
true enough, but I actually like the new model, and most importantly, I'm to lazy to constantly switch back and forth in the settings x)Also this is really only an issue in that one (huge) class and only if its actually the current active project, IIRC.
-
I can only recommend you to comment and vote for QTCREATORBUG-21407. It also contains a workaround to start one Creator without Clang.
Maybe we should also create a poll here in the forum to see how many users are affected by Clang problems and how they work around those.
Regards