Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8998895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:06:04+00:00 2026-06-16T00:06:04+00:00

In Qt Creator, if I have a QList<SomeClass*> called someList , and I type

  • 0

In Qt Creator, if I have a QList<SomeClass*> called someList, and I type

someList[0].

it shows a list of all the members of SomeClass, and converts the “.” into “->”, which is great. However, if I do the same with an std::vector, I get no suggestions nor a conversion. I can still type out the code myself and it will work, though.

Is there any way I can make Qt Creator suggest the members of objects in non-Qt containers?

I’m using Qt Creator 2.4.1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:06:05+00:00Added an answer on June 16, 2026 at 12:06 am

    Creator actually parses the C++ code and ignores comments, so doxygen will not help here;-)
    It will parse all files in your project as well as everything those include, using the include paths to find those if necessary.

    No, there is currently no way to make Creator do that. The codemodel Creator uses is a bit limited when it comes to templates, so those tend to have no completion. It tends to fail rather often with QLists, too.

    There is work ongoing to get that fixed by using the clang code model which is way more exact than the one we currently use, but unfortunately that is also way slower (not surprising as Creators will just take shortcuts wherever something takes too much time:-). Currently that is just not usable, it takes way too long to get the initial parsing that is required for code completion and syntax highlighting to work. We are looking at how this can be improved by either improving clang for our usecase or caching information or something.

    Maybe we will just end up fixing up our existing code model a bit in the end or use ours for fast initial parsing and only follow up with clang later to improve on the data we extracted before.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a User class that has a property called Creator which is of
I have created a QDialog based app using Qt Creator and all is well
I have a Class called Song with Inner class Creator . Below is the
I have a XML document: <event> <type>SUBSCRIPTION_ORDER</type> <marketplace> <baseUrl>https://www.acme-marketplace.com</baseUrl> <partner>ACME</partner></marketplace> </marketplace> <creator> <email>admin@fakeco</email> <firstName>Alice</firstName>
I have site which is a creator of smaller websites, and I'd like to
I have a C++ project which uses Makefile,now i want to use QT creator
Lets say I have a project model which has many members and many tasks.
I have developed a small application in Qt Creator on Ubuntu 12.04 which I
I have Qt creator installed in my OpenSuse. I would like to view all
I have Qt Creator on my mac. I downloaded the Qt sdk sources, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.