PDA

View Full Version : Problem with Painter in Qt4.4.1



merry
1st September 2008, 13:29
Hi all

I am working on Qt4.4.1 on my mac intel machine.

Earlier i made a application in Qt4.3 in which i use two objects of QPainter and it works fine, but now when i compile my code in Qt4.4.1 ,the only one painter is active and other is not in run log , i receive


QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted

is in Qt4.4.1 at a time we can use only one painter, There is any other way to use two painters simultaneously at a time.

wysota
1st September 2008, 13:47
What do you need two painters for?