PDA

View Full Version : Qt Creator not suggesting member methods of objects inside non-Qt containers



wayfaerer
10th September 2012, 14:18
If I have a QList<Filter*> called "filters", and I type


filters[0].


Qt Creator shows a list of all the methods of Filter, and converts the "." into "->", which is great. However, if I do the same with an std::array, I get no suggestions nor a conversion. I can still type out the code myself and it will work, though.

Is this normal? I first noticed this when I made my own container a while back. What would I need to do to make Qt Creator recognize the functions of objects in non-Qt containers?