conversion to qvector