Setting up OpenGL in Qt

In this recipe, we will learn how to set up OpenGL in Qt 5.