[PyQt] PyQt5 application could not find QtWebEngineProcess.exe

Phil Thompson phil at riverbankcomputing.com
Fri Apr 29 14:34:33 BST 2016


On 29 Apr 2016, at 2:20 pm, Daan V. <daanv1987 at gmail.com> wrote:
> 
> I'm trying to run an application against PyQt 5.6 (from the PyQt5_gpl-5.6.zip). This application was converted from Qt/PyQt 4.11. The webkit QWebView usage has been replaced by QWebEngineView. When running the application an error occurs:
> "Could not find QtWebEngineProcess.exe"
> 
> I've found this issue on the mailinglist (https://www.riverbankcomputing.com/pipermail/pyqt/2016-April/037276.html) with a reported fix and the following indicated fix:
> changeset:   a4d8055d6b1a
> date:        Thu Apr 14 15:38:51 2016 +0100
> Adjusted qt.conf on Windows so that QtWebEngineProcess can be found.
> 
> in the change log of the 5.6 release (https://www.riverbankcomputing.com/static/Downloads/PyQt5/ChangeLog). It however still seems like an issue here. The QtWebEngineProcess.exe can be found in C:\Qt\Qt5.6.0\5.6\msvc2013_64\bin, but adding this to the path, application - or python directories didn't change anything. Can you help me out here?

Those fixes refer to the Windows installer which you aren't using.

> As background information, the way I've created my PyQt5 installation:
> 	• Qt 5.6 (qt-opensource-windows-x86-msvc2013_64-5.6.0.exe)
> 	• Visual Studio 2013 (vs2013.5_ce_enu.iso)
> 	• Python 2.7 (pywin32-217.win-amd64-py2.7.exe)
> 	• sip 4.18 (sip-4.18.zip, compiled against VS2013)
> amd64 VS2013 CMD prompt with:
> PATH="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64";C:\Qt\Qt5.6.0\5.6\msvc2013_64\bin;"C:\Users\<username>\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\WinSDK\Bin"
> QT_PLUGIN_PATH="C:\Qt\Qt5.6.0\5.6\msvc2013_64\plugins";C:\Python27;C:\Python27\bin;C:\Python27\Scripts;C:\Python27\Lib\site-packages
> INCLUDE="C:\Qt\Qt5.6.0\5.6\msvc2013_64\lib";"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE";"C:\Users\dveltman\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\WinSDK\Include"
> LIB="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64";"C:\Users\dveltman\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\WinSDK\Lib\x64"
> 
> ran:
> python configure.py
> nmake
> nmake install

I think your particular problem is a Qt bug. You can try setting the QTWEBENGINEPROCESS_PATH environment variable to the full pathname of the .exe.

Phil


More information about the PyQt mailing list