Another solution is the use of QMutableStringListIterator, it can be used as any other iterator, but it has the method "remove" that you are looking for.
QMutableStringListIterator i(list); // pass list as argument
while (i.hasNext()) {
i.remove(); // delete current item
}