Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Assert value or Index out of range
soundar last edited by
How to solve assert value or index out of range in qlist.h? Please give the solution for this problem.
Zlatomir last edited by
We have no way to know that.
Only you can debug your code and look for that mistake where you try to get an value from an index that is not in your list (like if you have a QList with 10 elements the valid indexes will be between  and )
And be extra careful if your list is shared between threads - you can take the size of the list in a thread, but if the access to the list is not properly locked another thread can remove elements from the list and then the first thread will try to access invalid indexes.