[Qt-creator] C++11 (e.g. std::thread) and code-completion in qtcreator

Wilhelm wilhelm.meier at fh-kl.de
Mon Dec 12 05:40:56 CET 2011


Hi all,

the minimal example below compiles/executes fine, but I'm missing the 
code-completion features of qtcreator: e.g. writing

t.j<Ctrl-Space>

doesn't show any code-completions.

What am I missing here?

---

#include <iostream>
#include <thread>

void hello()
{
      std::cout << "Hello" << std::endl;
}

int main() {
      std::thread t(hello);

      t.join();

      return 0;
}

-- 
Wilhelm




More information about the Qt-creator mailing list