feat: switch to qt 6.10.1 (#2057)

* feat: switch to qt 6.10.1

* feat: switch to qt 6.10.1 remove touch
This commit is contained in:
NickVs2015
2025-12-15 16:56:36 +03:00
committed by GitHub
parent 54f67b3d82
commit f50817c43c
5 changed files with 31 additions and 9 deletions

View File

@@ -19,8 +19,13 @@ Window {
Connections {
target: Qt.application
function onStateChanged() {
if (Qt.platform.os === "android" && Qt.application.state === Qt.ApplicationActive) {
refreshTimer.restart()
if (Qt.platform.os === "android") {
if (Qt.application.state === Qt.ApplicationActive) {
refreshTimer.restart()
} else if (Qt.application.state === Qt.ApplicationSuspended ||
Qt.application.state === Qt.ApplicationInactive) {
console.log("QML: Application going to background, state:", Qt.application.state)
}
}
}
}