Results 1 to 2 of 2

Thread: Problem with Painter in Qt4.4.1

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Problem with Painter in Qt4.4.1

    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.
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with Painter in Qt4.4.1

    What do you need two painters for?

Similar Threads

  1. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  2. Scaling
    By AD in forum Qt Programming
    Replies: 16
    Last Post: 11th July 2008, 10:55
  3. QT 4.4.0 Upgrade QPainter Problem
    By ChrisReath in forum Qt Programming
    Replies: 4
    Last Post: 13th May 2008, 15:25
  4. use Qpainter to draw lines + problem in my painter
    By ReSu in forum Qt Programming
    Replies: 4
    Last Post: 5th March 2008, 15:44
  5. painter problem in new Qt-4.2.3 installation
    By impeteperry in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd May 2007, 05:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.