Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Code completion with iterators don't work
Qt 6.11 is out! See what's new in the release blog

Code completion with iterators don't work

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 580 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SeppelQt
    wrote on last edited by
    #1

    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.

    example:
    @
    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":http://qt-project.org/wiki/Setting-up-Qt-Creator-for-QNX
    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved