简体   繁体   中英

Qt : Segfault when zooming on QGraphicsDropShadowEffect

I've been experiencing a really weird bug recently:

Often when I zoom too much on a QGraphicsItem (using scale on the view containing it) that has a QGraphicsDropShadowEffect on it, my app closes with a segmentation fault (core dumped) error.

What's weird is that:

  1. I use Python (with the PySide binding)
  2. If I remove the QGraphicsDropShadowEffect , the bug disappears

I also had to remove the QGraphicsDropShadowEffect on a relatively big item because it got the app so slow to the point it became irresponsive when I zoomed a bit too much.

Do anyone know how I could fix this ?

This may or may not help but when I encountered this the only thing that helped was reinstalling/updating pyside. I thought the fixed that bug a while back however.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM