diff options
Diffstat (limited to 'sources/pyside6/doc/deployment/deployment-py2exe.rst')
-rw-r--r-- | sources/pyside6/doc/deployment/deployment-py2exe.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sources/pyside6/doc/deployment/deployment-py2exe.rst b/sources/pyside6/doc/deployment/deployment-py2exe.rst new file mode 100644 index 000000000..6ca09a826 --- /dev/null +++ b/sources/pyside6/doc/deployment/deployment-py2exe.rst @@ -0,0 +1,16 @@ +|project| & py2exe +################## + +Deploying an application using py2exe requires writing a small ``setup.py`` file. +It is explained in the `Tutorial <http://www.py2exe.org/index.cgi/Tutorial>`_. + +py2exe is not generally aware of Qt. It merely copies the dependent libraries +of the application to the ``dist`` directory, so, the plugins, QML imports +and translations of Qt are missing. + +The latter need to be copied manually after running py2exe. +This can be achieved by running the ``windeployqt`` tool +from the Qt SDK on the Qt libraries present in the ``dist`` directory, +for example:: + + windeployqt dist\\Qt6Widgets.dll |