After using cx_Freeze - App can not be launched
-
Hi,
I have app made from python and QML/QtQuick. I used cx_Freeze to have a an executable file. Then I can run my app.exe on my PC, but on another (almost clean win 10 installation) it show this kind of error:
Please any advice how to fix that?
Thank you very much.

-
Hi,
I would say that not all required dependencies have been deployed. You might want to test other tools like Nuitka.
-
Hi,
I would say that not all required dependencies have been deployed. You might want to test other tools like Nuitka.
-
@SGaist said in After using cx_Freeze - App can not be launched:
Nuitka
Ok I will try, and do you have any idea what dependenices could missing? Then I woul install it manually...
@Witc
The "Shiboken" mentioned in the error message is the "glue" code which makes PySide6/Python work with Qt. Somehow I think the cx_freeze is not picking up all of its files/dependencies. That's all I know, I don't know exactly which bits of it cannot be found. -
With 6.4 we have a new tool called 'pyside6-deploy', for deployment purposes. The tool is basically a wrapper around Nuitka for PySide6 deployment.
The documentation isn't published yet, but here is how you use it https://codereview.qt-project.org/c/pyside/pyside-setup/+/450121/11/sources/pyside6/doc/deployment/deployment-pyside6-deploy.rst

