Search code examples
qtwindows-7intelvisual-artifactsqt5.7

QML: Garbled text with colorful pixels around it on Intel GPU


Screenshot of one of the Qt Creator example apps:

Garbled text screenshot

My videocard is a Mobile Intel(R) 4 Series Express Chipset Family.

Any idea what the problem might be?


Solution

  • The solution was to call either:

    QGuiApplication::setAttribute(Qt::AA_UseOpenGLES);
    

    or

    QGuiApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
    

    before instantiating QGuiApplication. I don't know exactly why it worked :)