【发布时间】:2015-03-29 22:06:25
【问题描述】:
我刚刚找到了一种支持 QtCore 中所有图像格式的方法,如下所示
from PySide imnport QtCore...
QtCore.QCoreApplication.addLibraryPath(os.path.join(os.path.dirname(QtCore.__file__), "plugins"))
但是,当我在 Windows 下使用 PyInstaller 构建应用程序时,我仍然遇到支持 JPEG/BPM 的问题...看起来此路径未添加到已编译的应用程序中。
如何添加?
【问题讨论】:
标签: python qt python-2.7 pyside pyinstaller