Trying a pure QT implementation for managing buffers.