skywind3000 / PyStand

:rocket: Python Standalone Deploy Environment !!
MIT License
641 stars 75 forks source link

Qt5 中文路径处理问题 #58

Open rainzee opened 9 months ago

rainzee commented 9 months ago

在使用 Pystand 打包后,如果目录中出现中文,会出现无法加载插件的情况,如下: image

这应该不是 Qt 的问题,在不打包的情况下,是能够正常启动,或者,可以通过将 \lib\PyQt5\Qt5\plugins 中的 \platforms 文件夹移动到 exe 的平级目录中,那么此时在中文路径下也没问题了。请问如何修复该问题。

skywind3000 commented 9 months ago

https://github.com/skywind3000/PyStand/wiki/Frequently-Asked-Questions

看 FAQ

rainzee commented 9 months ago

https://github.com/skywind3000/PyStand/wiki/Frequently-Asked-Questions

看 FAQ

这个我已经看了,我的意思是为什么在不打包的情况下,在中文路径启动没有问题,但是打包之后就会出现这个问题,这是为什么?是因为 Cpp 吗