Skip to content

Qt Bootstrap - Adapting to Qt 6.7 release #2990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 13, 2024

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