The clangbackend process has finished unexpectedly and was restarted - cannot solve the problem
-
So recently, out of nowhere, in the middle of coding my c++ header file, I started to repeatedly get this error:
2020-05-27T00:00:29 Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted.
I've tried googling it, but bug reports such as https://bugreports.qt.io/browse/QTCREATORBUG-21605
don't help me at all (frankly, I don't really understand things they're talking about).Can somebody help me out, and provide a way to fix this?
-
Same here on Ubuntu 20.04 with Qt Creator 4.11.0, Qt5 v5.12.8. I had to disable the CLangCodeModel plugin in the dialogue popup that starts when selecting "about plugins" in the Help drop-down menu. It helps my case that I use gcc, not CLang to compile my C++.
If this is hitting you in 2024 or beyond, it might be a regression because the bug https://bugreports.qt.io/browse/QTCREATORBUG-21605 was closed and resolved on Jan 2019 for version 4.8.0-rc1 of Qt Creator.
-