Results 1 to 5 of 5

Thread: QT 4.4.0 Upgrade QPainter Problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Exclamation QT 4.4.0 Upgrade QPainter Problem

    Hello all,

    I recently upgraded from QT 4.3.4 to 4.4.0. When I upgraded, my GUI started giving me an "ASSERT: SharedPainter ? SharedPainter->isActive() : true" error and then the program craps out.

    Here is the stack trace:

    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::begin: A paint device can only be painted by one painter at a time.
    QPainter::restore: Painter not active
    ASSERT: "sharedPainter ? sharedPainter->isActive() : true" in file kernel\qwidget.cpp, line 4398
    Anyone have any idea?

    Thanks,

    Chris
    Last edited by jpn; 13th May 2008 at 19:22. Reason: missing [quote] tags

Similar Threads

  1. Qpainter function on a QFrame problem
    By impeteperry in forum Newbie
    Replies: 45
    Last Post: 14th October 2008, 12:43
  2. Hi. I have problem with QCString in 4.4.0
    By ivi2501 in forum Qt Programming
    Replies: 3
    Last Post: 25th March 2008, 18:30
  3. use Qpainter to draw lines + problem in my painter
    By ReSu in forum Qt Programming
    Replies: 4
    Last Post: 5th March 2008, 15:44
  4. Qt 4.4.0 make problem
    By MarkoSan in forum Installation and Deployment
    Replies: 24
    Last Post: 22nd January 2008, 17:58
  5. qpainter "drawText() problem
    By impeteperry in forum Qt Programming
    Replies: 10
    Last Post: 25th March 2007, 00:46

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.