-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Qt6 #8545
Qt6 #8545
Conversation
taken from #8545 22bfd4e note: com.android.support is used in our p4a fork's PythonActivity.java (com.android.support was previously pulled in by me.dm7.barcodescanner) https://github.com/accumulator/python-for-android/blob/052b9f7945bae557347fa4a4b418040d9da9eaff/pythonforandroid/bootstraps/qt5/build/src/main/java/org/kivy/android/PythonActivity.java#L43
94ba1b2
to
2aa7565
Compare
ea6fc08
to
d4871f7
Compare
electrum/gui/qml/java_classes/org/electrum/qr/SimpleScannerActivity.java
Show resolved
Hide resolved
removing Draft status, as there are currently no open issues and this PR can be reviewed as is. before considering merging, the build container name change commit should be removed first. |
buildozer ref to 698b48136c55b2495128207c5e98dccc128bb6c2
…dicators toggle visibility
As the method of capturing frames is totally different, the animation when a QR is found has been removed.
…ith simple properties
…y for android only. Also use stable R package, regardless of APP_PACKAGE_DOMAIN used in build.
turns out that Qt.inputMethod.keyboardRectangle.height is not suitable for calculating the exact keyboard dimensions in Qt coordinates. Instead, use Qt.inputMethod.keyboardRectangle.y transformed to Qt coordinates using Screen.devicePixelRatio Note: Qt.inputMethod.keyboardRectangle stop being updated after exiting FLAG_SECURE state (e.g. in seed or master key entry pages)
rebased and removed the commit changing the qt6 specific build image name, so this PR should be ready to merge. (build container name change parked in https://github.com/accumulator/electrum/tree/qt6-tmp if you need it) |
Doesn't really work as it triggers on events above the background it is defined on :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tried to review and test this now (at commit 047cc6f), and to me it looks good.
Thank you very much for this work.
Currently builds a working APK using buildozer HEAD and python-for-android HEAD plus a patchset for qt6 bootstrap and pyqt6.
Builds against API 31, NDK 23c
Additional notes:
build container name temporarily renamed so it's easier to switch between current qt5 and this qt6 buildPillow
dependency is upped to 8.4.0 for PyQt6 supportIssues
SimpleScannerActivity
on android platform.