[PySide] Creating deployable GUI app

Mark list at qtrac.plus.com
Tue Feb 26 19:50:22 CET 2019


I've now successfully used PyInstaller to create a 'dist' folder with
all the correct dependencies:

C:\> C:\bin\py36\Scripts\pyinstaller.exe ^
--noupx -y -D -w --clean --log-level WARN ^
-p "C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64" ^
-p "C:\bin\py36\\Lib\site-packages\shiboken2" ^
-n MyApp -i icon.ico myapp.py

This creates a dist subdir with a MyApp folder with all the correct
.pyd's and .dll's (as far as I can tell).

But when I run MyApp.exe I get a 'Fatal error detected' message saying
'Failed to execute script pyi_rth_pkgres'.

So now I'm stuck again!

Looking forward to the day the PySide2 project provides some nice
Qt-quality support for redeployment:-)


More information about the PySide mailing list