[DF-5161] Qt5 fixes
[DF-5161] Fixed OpenGL compiling issues
[DF-5161] Fixed compatibility with Qt5OpenGL module.