Fix compilation with QT_STRICT_ITERATORS