Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-626

Could not find QtWebEngineProcess.exe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9
    • Component/s: PySide
    • Labels:
      None
    • Environment:
      PySide2-5.9.0a1-5.9.5-cp36-cp36m-win_amd64.whl

      Windows 10 Enterprise 2016 LTSB
    • Commits:
      a861c09fd13d4657191c2d447d7f7d3db5d42d5e

      Description

      when running :

       

      from PySide2.QtWebEngineWidgets import *
      

      I get the following error:

       

      "Could not find QtWebEngineProcess.exe"

      I'm using the CI's wheel : "PySide2-5.9.0a1-5.9.5-cp36-cp36m-win_amd64.whl" from 03/09/2018

      "QtWebEngineProcess.exe" does exists in the following location but isn't detected for some reason:

      C:\Python36\Lib\site-packages\PySide2\QtWebEngineProcess.exe

       

      I moved "QtWebEngineProcess.exe" to Python's root folder:

      C:\Python36\QtWebEngineProcess.exe

      This fixes my import however my "QWebEngineView" displays a "blank" / white page instead of my html.

       

      I installed the wheel using "pip install PySide2-5.9.0a1-5.9.5-cp36-cp36m-win_amd64.whl" on a Windows 10 machine.

      I didn't have the issue with my custom compiled version of PySide2 from a few months back.

      Is this a deployment problem ?

      Thanks.

       

      UPDATE:

      Copying the following files to C:\Python36 (python's root folder) seems to be a workaround

      C:\Python36\qtwebengine_devtools_resources.pak
      C:\Python36\qtwebengine_resources.pak
      C:\Python36\qtwebengine_resources_100p.pak
      C:\Python36\qtwebengine_resources_200p.pak
      C:\Python36\QtWebEngineProcess.exe

       

        Attachments

          Issue Links

          For Gerrit Dashboard: PYSIDE-626
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              talonrenaud Renaud Talon
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes