I think that your using incorrectly the at() member function (at(i) returns a const T < in out case is a const QString> so you can't assign to that)

But post more code, so that we can see what is wrong.