[PyQt] Re: QWebView in QGraphicsScene - drag and drop issue

Wolfgang Rohdewald wolfgang at rohdewald.de
Mon Apr 6 23:46:44 BST 2009


On Montag, 6. April 2009, Tom Batkiewicz wrote:
> I get a hard crash with the following code if you drag/drop inside a 
> QWebView that is being rendered inside of a QGraphicsScene.
> The trick is that it functions properly if you use addWidget() to 
> directly put the widget into the scene, but if you create the proxy 
> yourself and call setWidget() before adding the proxy to the scene you 
> get the crash.

your code works here. Pyqt 4.4.4, Qt 4.5. At least I have no crash, otherwise
when I resize the window only parts of it are redrawn correctly.

is the OpenGl dependency needed to make it crash?

-- 
Wolfgang


More information about the PyQt mailing list