PyQt5 failed to create opengl context for format qsurface
PyQt5打包出来的程序在AMD显卡驱动的电脑上运行出现failed to create opengl context for format qsurface
解决方法:在C:\Users\PC\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\PyQt5\Qt\bin目录下,复制出libEGL.dll,libGLESv2.dll,d3dcomiler_47.dll,把以上三个dll程序一同打包进程序中,完美解决上述问题。
...
原创
2021-10-27 09:29:25 ·
3302 阅读 ·
0 评论