Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Calling Win32 COM function causes double WM_PAINT events handled by Qt



  • I have a strange win32 problem: I call IShellItemImageFactory::getImage() in my View Delegate which triggers a WM_PAINT message that causes Qt to run the repaint loop again which eventually crashes (even when I protect my delegates paint() method with a reentrance check.

    Stacktrace:
    http://pastebin.com/BMzKEkUn

    It seems the be a faulty behaviour of Qt


Log in to reply