QML:Intel GPU上周围带有彩色像素的乱码 [英] QML: Garbled text with colorful pixels around it on Intel GPU

查看:113
本文介绍了QML:Intel GPU上周围带有彩色像素的乱码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其中一个Qt Creator示例应用的屏幕截图:

Screenshot of one of the Qt Creator example apps:

我的视频卡是移动式Intel(R)4系列Express芯片组家族.

知道可能是什么问题吗?

Any idea what the problem might be?

推荐答案

解决方案可以调用以下任一方法:

The solution was to call either:

QGuiApplication::setAttribute(Qt::AA_UseOpenGLES);

QGuiApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);

在实例化QGuiApplication之前.我不知道为什么会这样:)

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

这篇关于QML:Intel GPU上周围带有彩色像素的乱码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆