[Interest] QWebEngine makes QApplication ignore AA_UseOpenGLES
Allan Sandfeld Jensen
kde at carewolf.com
Tue Jul 7 16:29:03 CEST 2015
On Monday 06 July 2015, Shantanu Tushar wrote:
> Hi,
>
> As most of our userbase need it, we force our Qt app to use ANGLE on
> Windows machines -
>
> app.setAttribute(Qt::AA_UseOpenGLES);
>
> just after setting the app name, organization etc.
>
> We recently started using QWebEnginePage to load a webpage from our website
> because it serves some features. The problem is that the moment our code
> has a place where we create an object of QWebEnginePage, the AA_UseOpenGLES
> flag is ignored and the app always runs in OpenGL mode.
>
> Any suggestions/workarounds to fix this?
>
You can try adding --use-gl=egl to the command line arguments. That should get
passed on to chromium.
Best regards
`Allan
More information about the Interest
mailing list