[Qt-creator] Tab-Completion in STL containers

Frank Siegert frank.siegert at durham.ac.uk
Thu Oct 15 21:47:34 CEST 2009


Dear Creators,

I don't seem to be able to get QtCreator 1.3beta on Linux with gcc 4.3 to 
complete code that involves objects in STL containers. Imagine a simple 

  #include <vector>
  #include <string>

  std::vector<std::string> words;
  [...]
  words[0].<TAB>

I would expect to get completion for the members of string, but Creator 
doesn't offer any completion at all. I am attaching a very simple example 
project which was created by importing as generic Makefile based project.
Hitting F2 on <string> takes me to the STL header file just fine, by the 
way.

Do you have any idea what is going wrong here?

Thanks,
Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foobar.tar.gz
Type: application/x-compressed-tar
Size: 523 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20091015/0e45c8cc/attachment.bin 


More information about the Qt-creator-old mailing list