如何解决将 pyinstaller 用于 pyside6 和 qt
我使用以下模块创建了一个现代 GUI
from PySide6.QtCore import * # type: ignore
from PySide6.QtGui import * # type: ignore
from PySide6.QtWidgets import * # type: ignore
之后使用 pyinstaller 的命令 --onefile 创建了一个独立的可执行文件。该文件已创建,但当我运行它时,它显示以下错误。
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application Failed to start because no Qt platform plugin Could be initialized. Reinstalling the application may fix this problem.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。