[Qt-interest] Closing the "Web Inspector" programmatically?!

Alessandro Portale Alessandro.Portale at trolltech.com
Sun May 31 01:33:19 CEST 2009


Hi,

do you ge a stack trace? And if so, does it look similar to the one 
described in this open task ?:
http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=245683

It may be that you are hitting the same issue. It is supposed to be 
fixed for 4.6.

Alessandro

R. Reucher schrieb:
> Hi list,
> 
> using Qt 4.5.1 I've now implemented some QWebView based features for one of my 
> apps... while doing so I discovered the "Web Inspector" which is available 
> when the QWebSettings::DeveloperExtrasEnabled attribute has been set on the 
> QWebPage.
> 
> When using this on a "permanent" browser (which is deleted when the 
> application exits) everything works fine; but I also use some "temporary" 
> browsers for short-term web look-ups which I delete when they are no longer 
> needed... if I open the Web Inspector on one of these, the application 
> crashes (seg-fault) as soon as I delete the QWebView. Basically, I do 
> understand this because the inspected object is gone, but I wasn't able to 
> find any way to directly access the Web inspector to somehow programmatically 
> close and delete it prior to deleting the QWebView.
> 
> Am I missing something?
> 
> Thanks, René




More information about the Qt-interest-old mailing list