Fixes #5382 Also renamed as many references to OS X as possible to macOS in documentation.
QMapboxGL relies on its embedding widget to call for the GL extensions initialization function. Fixes #5024.
Fixes #4970. [skip ci]