[Qt-creator] Creator with std containers

Orgad Shaneh orgads at gmail.com
Wed Jul 31 08:28:35 CEST 2013


On Tue, Jul 30, 2013 at 10:20 PM, Duane <duane.hebert at group-upc.com> wrote:

> I have Qt Creator 2.7.0. on Fedora 16 with Qt 4.8.4
>
> struct spoo {
>         int x;
>         int y;
> };
>
> std::vector <spoo> Spoos(10);
>
> typing Spoos[0].  should get me a list showing x,y  or whatever is
> available in spoo.  But it doesn't.  Also, putting a mouse over Spoos
> just shows std::vector and not std::vector<spoo>
>
>
> If i use an iterator instead of access via [] it works as expected.  Is
> this a setting?  It seems that it used to work on previous versions of
> Creator.
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>

This is QTCREATORBUG-1892<https://bugreports.qt-project.org/browse/QTCREATORBUG-1892>.
Unfortunately not fixed yet (though there are a few pending related changes
in gerrit).

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130731/870c3e00/attachment.html>


More information about the Qt-creator mailing list