gl: check gl1 support
do not add qt opengl module if gl test failed
Merge branch 'gl'