Fixing Compile error due to wrong type of vector used. QVector should be used instead of std::vector