pyqtdeploy 3.0.0 - sysroot fails when building PyQtWebEngine

Phil Thompson phil at riverbankcomputing.com
Thu Aug 20 09:11:18 BST 2020


On 20/08/2020 07:17, Maxime Gendebien wrote:
> Hello,
> 
> I am trying to learn pyqtdeploy for an upcoming project but seem to 
> have
> already encountered problems at my current early stage.
> 
> Basically pyqtdeploy-sysroot fails when building PyQtWebEngine. I do 
> not
> understand why.
> 
> I run:
> pyqtdeploy-sysroot --component PyQtWebEngine --verbose sysroot.toml
> 
> Here is the log:
> 
> PyQtWebEngine: installing component...
> PyQtWebEngine: looking for 'pyqt-commercial.sip' in
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS.
> PyQtWebEngine: looking for 'PyQtWebEngine-5.15.0.tar.gz' in
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS.
> PyQtWebEngine: found 'PyQtWebEngine-5.15.0.tar.gz' in
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS.
> PyQtWebEngine: copying
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\PyQtWebEngine-5.15.0.tar.gz to
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\build.
> PyQtWebEngine: unpacking 'PyQtWebEngine-5.15.0.tar.gz'.
> Running 'C:\Program Files\Python37\python.exe configure.py --static 
> --qmake
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\Qt\bin\qmake.exe
> --sysroot C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64
> --no-qsci-api --no-sip-files --configuration pyqtwebengine.cfg --sip
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\host\bin\sip.exe 
> -c
> --no-dist-info --no-stubs --verbose'.
> Error:
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\Qt\bin\qmake.exe
> failed to create a Makefile from PyQtWebEngine.pro.
> Reading configuration from
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\build\PyQtWebEngine-5.15.0\pyqtwebengine.cfg...
> Configuring PyQtWebEngine 5.15.0...
> PyQtWebEngine will be installed in
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\lib\python3.7\site-packages\PyQt5.
> PyQt5 is being used.
> Qt 5.15.0 is being used.
> The system root directory is
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64.
> sip 4.19.24 is being used.
> The sip executable is
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\host\bin\sip.exe.
> Generating the C++ source for the QtWebEngine module...
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\host\bin\sip.exe 
> -I
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\build\PyQtWebEngine-5.15.0\sip
> -I 
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\share\sip\PyQt5
> -n PyQt5.sip -t WS_WIN -t Qt_5_15_0 -x PyQt_Desktop_OpenGL -B Qt_6_0_0 
> -t
> QtWebEngine_5_15_0 -o -j 1 -c
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\build\PyQtWebEngine-5.15.0\QtWebEngine
> C:\Users\Max\Elk\Deploy\LATEST_VERSIONS\sysroot-win-64\build\PyQtWebEngine-5.15.0\sip/QtWebEngine/QtWebEnginemod.sip
> sip: Deprecation warning: the -B flag is deprecated
> pyqtdeploy-sysroot: execution of 'C:\Program Files\Python37\python.exe'
> failed: returned exit code 1
> 
> Sources:
> openssl-1.1.1f
> python 3.7.8
> pyqt-5.15.0
> pyqt3d-5.15.0
> pyqtchart-5.15.0
> pyqtdatavisualization-5.15.0
> pyqtpurchasing-5.15.0
> pyqtwebengine-5.15.0
> qscintilla-2.11.4
> qt-5.15.0
> sip-4.19.24
> zlib-1.2.11
> 
> Openssl, pyqt, qt, zlib do build ok though...
> 
> Platform: W10 - x64
> 
> Any idea? Thanks

Exactly what changes have you made to the demo sysroot.toml?

Phil


More information about the PyQt mailing list