31 Mart 2011 Perşembe

ASSERT failure in QList::at: "index out of range"

ASSERT failure in QList::at: "index out of range"
\Qt\2010.05\qt\include/QtCore/../../src/corelib/tools/qlist.h, line 455

if you make mistake like this, you are going to get above error

void MainWindow::on_pushButton_clicked()
{
    QList <int> a;
    int i= a.at(5);
}

 

0 Yorum:

Yorum Gönder

Kaydol: Kayıt Yorumları [Atom]

<< Ana Sayfa