第一次单击 ListWidget 的项目会引发错误?

发布于 2024-11-16 08:47:36 字数 575 浏览 2 评论 0原文

我想问你一个问题。当我第一次单击 listwidget 的项目时,我看到应用程序输出中有一些文本行:

QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setWorldTransform: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setClipping: Painter not active, state will be reset by begin

这是一个错误吗?如何在应用程序输出中隐藏/禁用这些文本行?

I want to ask you a question. When I click on listwidget's item first time, I see there are some text lines in application output:

QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setWorldTransform: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setClipping: Painter not active, state will be reset by begin

Is it an error? How can I do to hide/disable these text lines in app output?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

删除→记忆 2024-11-23 08:47:36

这些都是QT的警告信息。

您可能遇到图像问题,原因是type == 3

请检查设备类型

Those are warning messages of QT.

You are probably having a problem with an image cause type == 3

Check this out for device types.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文