aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dbus
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2023-10-23 13:50:08 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-11-28 17:18:48 +0000
commita3947b51a022f3b7dd9b99feefa40f45b2147d90 (patch)
tree2c028c06431eba92b257415bde0ecc9e326518e8 /examples/dbus
parent9a0099a23fc209aac1721f1818bf5bf1fe8b46b7 (diff)
Deployment: Code Refactoring
- Move android related configurations into a new class AndroidConfig. This class inherits from the class Config. - Move configuration related code sections from `android_deploy.py` to `android_config.py` - get_config() renamed to create_config_file(). This simplifies a lot of code and makes Android deployment independent of Desktop deployment. - Move `generated_files_path` to `config.py`. As a result, `generated_files_path` does not need to be passed as parameter to to functions like `cleanup()`, `finalize()`, `Buildozer.initialize()` as config is already passed. - generated_files_path expression changed. This is because we assume the project_dir is always the parent of the source_file (i.e. main.py) - `Buildozer` import removed from `android/__init__.py` to prevent circular import issues. - Change buildozer commands to use "python -m" as prefix. Task-number: PYSIDE-1612 Change-Id: Ie460dc459908dab44de82c3e269b806aff2c27c5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 120a14487c86c96cf4818e04b9e919be6495151d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/dbus')
0 files changed, 0 insertions, 0 deletions