Stefan Monov
Stefan Monov

Reputation: 11732

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?

Upvotes: 1

Views: 360

Answers (1)

Stefan Monov
Stefan Monov

Reputation: 11732

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 :)

Upvotes: 2

Related Questions