第一次单击 ListWidget 的项目会引发错误?
我想问你一个问题。当我第一次单击 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些都是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.