[Qt-creator] C++11 code completion no supported

Nikolai Kosjar nikolai.kosjar at digia.com
Mon May 12 21:13:43 CEST 2014


Hi!

On Sun, 11. May 23:39, Freddy Martinez Garcia wrote:
> std::list<string> myList;
> myList.push_back("testing code completion for c++11");
> 
> for (const auto& myStr : myList)
> 	myStr. -> and here I don't get the code completion
> 
> how can I have code completion compatible with c++11 in my qtcreator ??
> 
> I've Mac OS X 10.9.2 and I don't if the new qtcreator plugin ClangCodeModel can solve my problem...

Works for me with the clang plugin. To enable the clang plugin, follow
the instructions on

http://qt-project.org/doc/qtcreator-3.1/creator-clang-codemodel.html#configuring-clang-code-model-plugin

Nikolai




More information about the Qt-creator mailing list