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

时间:2011-06-20 08:21:08

标签: qt qlistwidget

我想问你一个问题。当我第一次点击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

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

1 个答案:

答案 0 :(得分:0)

这些是QT的警告信息。

您可能在图片原因 type == 3

时遇到问题

请查看device types