diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-07-03 12:22:52 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-08-06 09:39:41 +0200 |
| commit | 5eb3675ec71389cad69a599f57cc5a38f44dbe46 (patch) | |
| tree | e316d46a97ff3363a1ac09f620db382f0f65089c /sources/pyside6/doc/tutorials/qmlsqlintegration | |
| parent | dec5b616f6ef215d415686e8ac3c0eeca6550ad5 (diff) | |
Desktop Deployment: Handle long command lines on Windows
- When the Nuitka command line becomes more than 8191 characters in
Windows, the subprocess call fails with the error message "The
command line is too long". This patch fixes the issue.
- The patch involves moving the contents of the main Python file
to an intermediate file called 'deploy_main.py' and modifying
the deploy_main.py file to start with
'# nuitka_project: <nuitka_option>'. This way, Nuitka picks up the
option directly from deploy_main.py rather than the command line.
- Add relevant tests to consider the scenario.
Pick-to: 6.7
Task-number: PYSIDE-1612
Fixes: PYSIDE-2803
Change-Id: Iacdaa66283cb41dee6df99c9015b4679e299b02e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlsqlintegration')
0 files changed, 0 insertions, 0 deletions
