Added support for egl on qt4.