[PyQt] Include software rendering and HLSL compiler in the PyQt5 wheels for Windows

Phil Thompson phil at riverbankcomputing.com
Thu Jun 7 08:42:37 BST 2018


On 6 Jun 2018, at 11:21 pm, Cody Scott <cody at perspexis.com> wrote:
> 
> Okay I have learned that dynamic OpenGL means that at runtime Qt will determine which OpenGL implementation to use.
> 
> If OpenGL >= 2.0 is not available it will try ANGLE and if ANGLE is not available it will use a software renderer[0].
> 
> These three files are required for ANGLE to work.
> 
> • libEGL.dll
> • libGLESv2.dll
> • d3dcompiler_XX.dll
> 
> libEGL.dll and libGLESv2.dll are already being included in the wheels.
> 
> Without allowing Qt to fallback to the software renderer (opengl32sw.dll) I tried adding the d3dcompiler_47.dll from my Qt 5.10.1 msvc2015 directory but the application would not work.
> 
> Failed to load libEGL (The specified module could not be found.)
> QWindowsEGLStaticContext::create: Failed to load and resolve libEGL functions
> 
> Hey Phil, which msvc directory do you copy the .dlls from when building the wheels?

The only msvc files copied are...

msvcp140.dll
concrt140.dll
vcruntime140.dll

Phil


More information about the PyQt mailing list