Fixes 'QBuffer' has not been declared
Fixes invalid conversion