Important: Please read the Qt Code of Conduct -

Code completion with iterators don't work

  • Hi,

    my code completion don't work for iterators, f.e. iterator of std::vector. If i type in manually the code the project compiles fine. So compiler knows the iterators but the code completion doesn't.

    std::vector<tcpStruct>::const_iterator it;
    it-> //code completion show nothing
    it. //code completion show nothing
    it->ip; //manually completed, compiling ok

    I am using Qt Creator 3.2.1 as IDE for my QNX 650 project (QNX compiler & debugger, no Qt Kit) on a Ubuntu 12.04 System.
    I setup my environment based on this Qt article: "link":
    Compiling the project works fine. Also highlighting works fine, highlighter knows the "const_iterator".

    I would be very happy if anyone can help me.
    I assume there is only a path / any project configuration missing, but i don't find it yet.
    Does anyone have an idea?

Log in to reply