Auto-completion and pre-compiled headers
I've been using Creator for quite a while now and I'm determined to fix the most annoying of issues -- missing/erratic autocompletion when using precompiled headers.
This has been an issue forever, but currently I'm using 3.1.1 from the 5.3 distribution on a Mac (same problem on Windows 7). My .pro file contains "PRECOMPILED_HEADER = <file>" and then "CONFIG += precompiled_header". It builds fine. I've tried switching to the new clang code model, with little effect.
clang code model: wavy red underlines indicating what would be errors if there were no PCH. no completion.
builtin code model: no red underlines (error indications), but also no completion.
I'm also not clear on how to force a rebuild of the information generated by the code model. I've tried cleaning, rebuilding, running qmake, closing and re-opening the project/session/creator itself.
In my adventures I have gotten the following message frequently:
"updatePchInfo: switching to none"
That's about it. No idea.
Does completion from PCHs work for anyone?
You should also ask this on the qt-creator mailing list. You'll find there Qt Creator's developers/maintainers (this forum is more user oriented)
Thanks for the suggestion.. I think I'll do that!