Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt5 中文路径处理问题 #58

Open
rainzee opened this issue Oct 10, 2023 · 2 comments
Open

Qt5 中文路径处理问题 #58

rainzee opened this issue Oct 10, 2023 · 2 comments

Comments

@rainzee
Copy link

rainzee commented Oct 10, 2023

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

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

@skywind3000
Copy link
Owner

@rainzee
Copy link
Author

rainzee commented Oct 10, 2023

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

看 FAQ

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants