[Qt-interest] Closing the "Web Inspector" programmatically?!
R. Reucher
rene.reucher at batcom-it.net
Sat May 30 16:50:54 CEST 2009
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é
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list