Skip to content

Conversation

@shyamnathp
Copy link
Contributor

  • Make PythonActivity class independent of QtNative.
    QtNative is a private class from Qt 6.7 version. The only use of that class in PythonAcitivity is setting the environment variables.
    This can also be done with the Android Java API and hence the dependency can be removed.

  • add a key array named bundled_libs to libs.tmpl.xml
    This is more of a placeholder. As mentioned in the comment, the same purpose can be done with android.add_libs_* in buildozer.spec file. This does not break the previous versions.

ShyamQt added 2 commits March 11, 2024 17:02
- remove QtNative.setEnvironmentVariable in favour of the Java API.
- This removes the dependency on QtNative.
Copy link
Member

@misl6 misl6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@misl6 misl6 merged commit b92522f into kivy:develop Mar 13, 2024
@shyamnathp
Copy link
Contributor Author

thanks a lot :)

jithesh82 pushed a commit to jithesh82/python-for-android that referenced this pull request Aug 19, 2024
* Qt lib.xml - add placeholder for bundled_libs

* Qt Bootstrap: Set environment variables

- remove QtNative.setEnvironmentVariable in favour of the Java API.
- This removes the dependency on QtNative.

---------

Co-authored-by: Shyamnath Premnadh <[email protected]>
T-Dynamos pushed a commit to T-Dynamos/python-for-android that referenced this pull request Nov 1, 2024
* Qt lib.xml - add placeholder for bundled_libs

* Qt Bootstrap: Set environment variables

- remove QtNative.setEnvironmentVariable in favour of the Java API.
- This removes the dependency on QtNative.

---------

Co-authored-by: Shyamnath Premnadh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants