Some pitfalls in OpenGL learning

On a Mac, you need to set (otherwise it will report a lot of errors and the answer is almost impossible to find online) :
XCode:


Qt:


May the world be bug-free


Read More: