Working videoplayer example with QIODevice