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

Cody Scott cody at perspexis.com
Thu Jun 7 13:44:09 BST 2018


Sorry when I said msvc directory I meant the Qt bin directory, for example

C:\Qt\5.10.1\msvc2015\bin

I meant to ask if the libEGL.dll and libGLESv2.dll files come from the
C:\Qt\5.10.1\msvc2015\bin directory or another one?


On Thu, Jun 7, 2018 at 3:42 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180607/1bd81f51/attachment.html>


More information about the PyQt mailing list