Here is a sample code:
Code:
QList<QString> list; QString value; value.setNum(10,10); for(int i=0;i<10;i++) list.append(value);
Here is got a problem.It says that in the for loop, it is destroying the string value. So my application is exiting.
Is there any suggestion for this?