[PyQt] QWebEngineView fail while trying to setUrl() (possibly bug)

Phil Thompson phil at riverbankcomputing.com
Thu Apr 14 16:45:32 BST 2016


On 14 Apr 2016, at 1:28 am, Герасимов Михаил <Gerasimov-M-N at yandex.ru> wrote:
> 
> This code leads to error "Could not find QtWebEngineProcess.exe" (but shouldn't, right?):
> 
> import sys
> 
> from PyQt5.QtWidgets import QApplication
> from PyQt5.QtCore import QUrl
> from PyQt5.QtWebEngineWidgets import QWebEngineView
> 
> 
> if __name__ == '__main__':
>     app = QApplication(sys.argv)
> 
>     view = QWebEngineView()
>     view.setUrl(QUrl("http://javascript.ru/ajax/intro"))  # This line leads to error
>     
>     sys.exit(app.exec_())
> Windows 10,

This is actually broken on all platforms.

> PyQt dir in PATH,

You shouldn't need to do that.

> PyQt5 5.6.dev1604121819

Should now be fixed but I'm not planning on producing any more wheels before the final release.

Thanks,
Phil


More information about the PyQt mailing list