Barebones Qt application with OpenGL support