[PyQt] webkit Load the local js file
老胡
2372554140 at qq.com
Sun Jan 4 10:23:11 GMT 2015
Relative paths and absolute path Unable to load js file
Modify Settings.Also useless
self.webSettings = self.webView.settings()
self.webSettings.setAttribute(QtWebKit.QWebSettings.DeveloperExtrasEnabled, True)
self.webSettings.setAttribute(QtWebKit.QWebSettings.LocalContentCanAccessRemoteUrls, True)
self.webSettings.setAttribute(QtWebKit.QWebSettings.LocalStorageEnabled, True)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150104/ffda1cd8/attachment.html>
More information about the PyQt
mailing list