QList <QPointF> markers;
markers.append (QPointF (getLat (), getLon ()));
QList <QPointF> :: iterator i;
for (i = markers.begin(); i != markers.end(); ++i)
std :: cout << *i << endl;
给我:
错误:在 'std::cout << i.QList::iterator::operator* with T = QPointF' 中不匹配 'operator<<'