Loading

PyQt/PySide + Pyinstaller is corrupted by UPX

Windows 10 64-bits
Python 3.8.10 64-bits
PySide2 5.15.2
PyInstaller 4.3
UPX 4.1.0

Problem 1:

"This application failed to start because no Qt platform plugin could be initialize"

Problem 2:
Appilcation's icon disappeared

Solution
in spec files, add
upx_exclude=['qwindows.dll', 'qwindowsvistastyle.dll', 'qico.dll'],

posted @ 2023-08-29 18:53  gamesun  阅读(11)  评论(0编辑  收藏  举报