Solved Using large data structure for storage!
-
@Kushan How long?
-
@jsulm actually
QString Test="New,0,0,Instrument1,Order,Buy,100,Amend, Quote" -
@Kushan That's not long.
Please debug you app to see where it is crashing. I'm out of ideas as the code you posted doesn't crash and there is not enough information to tell you why your app is crashing. -
@jsulm Thanx alot how to use the debug?
-
-
@jsulm Thanx for sparing your time
-
@Kushan No problem
-
@jsulm Actually the error is indexout of bound but I havent declared any size anywhere in my code for all the structures I have used!
-
@Kushan Are you accessing list elements using [] anywhere in your code like
QList<QString> list; qDebug() <<list[0];
?
-
@jsulm yes :( But the problem is that I have never declared a specific size but only used size() method in for loops!
-
@jsulm Got it solved it was in the textfile that I used to read into the QList because the value I gave is more than the number of elements in the text file that I read!