[Qt-creator] Creator with std containers

Duane duane.hebert at group-upc.com
Tue Jul 30 21:20:32 CEST 2013


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.




More information about the Qt-creator mailing list