Results 1 to 4 of 4

Thread: QGraphicsDropShadowEffect causing a QPainter error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Location
    Denmark
    Posts
    74
    Thanks
    7
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default QGraphicsDropShadowEffect causing a QPainter error

    Has anybody come across

    QGraphicsDropShadowEffect throwing the following error?

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

    I am adding a bit of flourish in my app and when I try to put a dropshadow on widgets that are in a QStackedWidget (I am not sure if this is what is causing the crash) I am getting a crash in

    void QGraphicsDropShadowEffect::draw(QPainter *painter)

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsDropShadowEffect causing a QPainter error

    Could you create and post a minimal example application that shows the error?

    Joh

Similar Threads

  1. vector causing system error/crash
    By babygal in forum Newbie
    Replies: 9
    Last Post: 21st October 2010, 07:48
  2. QPainter error: no match for call ...
    By tonnot in forum Newbie
    Replies: 2
    Last Post: 7th October 2010, 12:00
  3. Compile error for Qpainter
    By tonnot in forum Newbie
    Replies: 8
    Last Post: 7th October 2010, 10:37
  4. Replies: 1
    Last Post: 15th January 2010, 15:14
  5. ERROR:: QPainter: Internal error; no available GC
    By Krishnacins in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2006, 06:05

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.