guy16 guy16 - 1 month ago 20
Python Question

Qt platform plugin 'windows' - py2exe

I know there are many posts about this problem (i've read them all).
But i still have a problem with my exe, still cannot be opened.

I've tried to put the

qwindows.dll
(i tried with 3 different qwindows.dll) in the folder
dist
with my exe but doesn't change anyhting.

I've tried with
libEGL.dll
, nothing.

Any suggestions ? Is there a way to avoid having this problem ?

Answer

I've had this issue aswell, after a lot of digging I found the following solution:

Copy the following file next to you main .exe: libEGL.dll

Copy the following file in a folder "platforms" next to you main .exe: qwindows.dll

Putting the qwindows.dll in the subfolder is the important part I think, hope this helps