how to change the opengles in Qt5 to opengl with ubuntu18.04 in Xavier ?

Recently, I want to compile a program which is related to Qt5 and OpenGL, but I failed to compile it, I find the reason is that the opengl in Qt is OpenGLES, but my program need OpenGL.
My os is ubuntu 18.04 in Xavier, which is offered by Nvidia. So could you someone give me some suggestions about how to change opengles to opengl in qt5?
Thanks a lot!

QT is 3rdparty solution and we don’t have expertise. Other users may share you experiences.