error: passing 'const QVector' as 'this' argument of 'void QVector::ap
QVector<QTime> Time;
double hh = line.mid(15,2).toDouble();
double mm = line.mid(17,2).toDouble();
double ss = line.mid(19,2).toDouble();
double mss = line.mid(22,3).toDouble();
QTime tt (int(hh),int(mm),int(ss),int(mss));
Time.append(tt);//出错
F:\work\zhidong\cpuplot\cpustat.cpp:59: error: passing 'const QVector<QTime>' as 'this' argument of 'void QVector<T>::append(const T&) [with T = QTime]' discards qualifiers [-fpermissive]
Time.append(tt);
^
F:\cpustat.cpp:59: error: invalid user-defined conversion from 'QTime(int, int, int, int)' to 'const QTime&' [-fpermissive]
是什么原因?