This will draw a simple cube in QT 5 using OpenGL