问题
Screenshot of one of the Qt Creator example apps:
My videocard is a Mobile Intel(R) 4 Series Express Chipset Family.
Any idea what the problem might be?
回答1:
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 :)
来源:https://stackoverflow.com/questions/39081028/qml-garbled-text-with-colorful-pixels-around-it-on-intel-gpu