diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-19 13:15:59 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-22 20:11:31 +0000 |
commit | 12520af904a08d73d2a71965ae1506d3f7aa862d (patch) | |
tree | 83a576ac4d5c6cc44804f1fc9b140fb0edf5ac36 /sources/pyside6/doc/deployment-py2exe.rst | |
parent | fe29625e6ee1167b02612b3e4c3d5fa9ad7a3295 (diff) |
Improve deployment documentation
Extend the table by the Qt version.
Add some chapter on Qt 6 support.
Add some description for py2exe.
Task-number: PYSIDE-1112
Change-Id: Ic3a9fb76d9c13017a107f083da4c7ed326d64e5c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 80aec29aca246f1f67a4f8c453b49f1eadfee6fd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/doc/deployment-py2exe.rst')
-rw-r--r-- | sources/pyside6/doc/deployment-py2exe.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sources/pyside6/doc/deployment-py2exe.rst b/sources/pyside6/doc/deployment-py2exe.rst new file mode 100644 index 000000000..24d260d71 --- /dev/null +++ b/sources/pyside6/doc/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 |