Qt Creator 3.2.2: code completion not working after switching to clang code model
-
wrote on 22 Apr 2014, 06:38 last edited by
Just activated clang model, restarted Creator and code completion does not work at all. Is this a known issue? Is there a fix?
P. S. This is on Windows.
-
wrote on 30 May 2014, 02:23 last edited by
Did you set up clang like in "this ":http://blog.qt.digia.com/blog/2011/10/19/qt-creator-and-clang/ article?
-
wrote on 30 May 2014, 04:51 last edited by
No, I didn't see that article, thanks. I assumed it would be as easy as turning the plugin on...
P. S. That was published 2.5 years ago. Are you sure it's still the right article to follow?
-
wrote on 30 May 2014, 05:19 last edited by
Yeah, you're right, that article now isn't actual, they integrated libclang in Qt Creator. Did you enable clang code model in preferences (Options > C++ > Code Model) ?
-
wrote on 30 May 2014, 06:18 last edited by
Yep, that's exactly what I did.
-
wrote on 15 Oct 2014, 09:23 last edited by
Still the same issue in Creator 3.2.2 (Windows). Does clang model work for anyone?
-
wrote on 15 Oct 2014, 19:17 last edited by
Sure, works for me (on Linux), is more accurate but slower than the build-in code model.
-
wrote on 15 Oct 2014, 19:24 last edited by
My main problem with QtCreator model is that it doesn't understand auto, does the clang model (I assume so)?
Does clang model work for anyone on Windows?