[Qt-interest] delete item of QVector on a QLayout

Frank Lutz frank422542 at googlemail.com
Fri Feb 19 10:35:57 CET 2010


Hi,

i do have a problem to delete a part from a vector.
If i use push_back it will delete the item from the vector, but not from 
the QLayout.
If i use delete the item will delete at the QLayout, but not at the vector.
If i use both it will run fine under linux, but on windows i get 
correctly a crash because on second it don't exists any more.

So please, what can i do, to delete the vector item from the layout?


thank many!



More information about the Qt-interest-old mailing list