diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-03-03 15:33:11 +0100 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-03-10 14:35:44 +0100 |
| commit | 2f4cf21ad1d4469662c2e816a1674498565af1ee (patch) | |
| tree | 6474f5c2320b6b7be6371dabd46c0ddca294fdae /build_scripts/platforms/unix.py | |
| parent | c5425b185411cdcc6ee24977dc29795320038676 (diff) | |
Android Deployment: jar files in wheels
- Create Qt6AndroidBindings.jar from all the main entrypoint Android
Qt classes.
- Add Qt6AndroidBindings.jar and other relevant Qt Android jar files
added to PySide6 wheel
Task-number: PYSIDE-1612
Change-Id: Ie212dd65a844b7c174acc33c43108d0b5fc3cbb7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
| -rw-r--r-- | build_scripts/platforms/unix.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index a75365542..a97a94019 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -212,6 +212,13 @@ def prepare_packages_posix(pyside_build, _vars, cross_build=False): "{st_build_dir}/{st_package_name}/examples", force=False, _vars=_vars, dir_filter_function=pycache_dir_filter) + # copy the jar files + if is_android: + copydir( + "{install_dir}/lib/jar", + "{st_build_dir}/{st_package_name}/jar", + _vars=_vars) + # Copy Qt libs to package if OPTION["STANDALONE"]: if config.is_internal_pyside_build() or config.is_internal_shiboken_generator_build(): |
