Indeed, as QListIterator docs state:
QListIterator<T> allows you to iterate over a QList<T> (or a QQueue<T>). If you want to modify the list as you iterate over it, use QMutableListIterator<T> instead.
Also, may I ask what's the point of allocating doubles on the heap? Notice that QList is an implicitly shared class.