[PySide] Creating deployable GUI app
list at qtrac.plus.com
Wed Feb 27 11:56:40 CET 2019
I looked at the issue you mentioned but the problem I have doesn't get
anywhere near that far!
When I use PyInstaller and run the .exe I get:
'Fatal error detected' 'Failed to execute script
And when I use cx-freeze and run the .exe I get:
'application failed to start because no qt platform plugin could be
This is despite having a plugins folder with plugins/platforms etc.
So I still can't create a deployable package.
On 2019-02-27 09:19, Cristián Maureira-Fredes wrote:
> Hello Mark,
> I personally recommend PyInstaller over cx_Freeze,
> so I'm glad things worked out.
> Regarding your issue there is a similar case here:
> Are you using the latest PyInstaller and PySide2 versions?
> There has been a couple of issues recently, like:
> but at the moment your error seems to be related to PyInstaller.
> Maybe you can drop by our IRC channel on freenode #qt-pyside
> and ask around when facing a new problem, since there are
> many people currently using PyInstaller.
> From: PySide <pyside-bounces at qt-project.org> on behalf of Mark
> <list at qtrac.plus.com>
> Sent: 26 February 2019 19:50
> To: pyside at qt-project.org
> Subject: [PySide] Creating deployable GUI app
> 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:-)
> PySide mailing list
> PySide at qt-project.org
More information about the PySide