replaced QList by QVector -> works