deal with old version of Qt wrt QVector<>::swap(QVector<>) method