QtCreator : auto-complete doesn't work with class std::string
-
Hello everyone.
What an annoying thing! I should not tell you how developers love auto-complete. Here I've installed QtCreator 4.0.0 from sources on my old Ubuntu 16.04. After some activity I suddenly found out that auto-complete doesn't work with standard C++ std::string: I type the string object name, the dot and then nothing happens.
It completes other names from the std well and works as usual with many other standard classes like, for example, container classes, but refuses to work with std::string, and with std::stringstream too.
Lately I've upgraded gcc from version 5 to 9 on this machine: it was after I installed QtCreator. Can the problem be caused by this upgrade?
So, how can I fix it? I know you know everything! -
So, I installed default QtCreator through apt, version 3.5.1. And its auto-complete works good, while 4.0.0 version's still doesn't work with std::string.
I can use this version, but I still do not understand what's wrong with QtCreator 4.0.0 version which I've successfully built earlier from sources.
By the way, I don't use ClangCodeModel in 4.0.0 version. It isn't even installed there.