Hi,
I am using QList for creating dynamic QComboBoxes and i am getting run time error as below
ASSERT failure in QList<T>::at: "index out of range", file c:\Qt\2010.05\qt\include/QtCore/../../src/corelib/tools/qlist.h, line 455

This problem is occurring many times in my application.Here is my code which uses QList n combo boxes.

QList<QComboBox *> comboArray;
for (int i = 0; i < 5000; ++i)
comboArray << new QComboBox(this);

previously when i encountered this problem i increased i size from 500 to 5000 but after some time its showing same error.Any help is appreciated.Please help me..
Thank you..