Rendering OpenGL in separate Thread with Qt