mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
3477808e40
commit
10677a19c9
5 changed files with 32 additions and 6 deletions
|
|
@ -1,9 +1,7 @@
|
|||
# This creates a signed APK for the PlayStore.
|
||||
#
|
||||
# (1) run 'make apk' before running this script
|
||||
#
|
||||
# (2) don't set min sdk and target sdk in 'AndroidManifest.xml'; instead,
|
||||
# set them in 'app.pro'
|
||||
# (1) set min sdk and target sdk in'app.pro'
|
||||
# (2) run 'make apk' before running this script
|
||||
|
||||
# hack to not include Qt Widgets on mobile (not used)
|
||||
rm -f android-build/libs/arm64-v8a/libQt5Widgets_arm64-v8a.so
|
||||
|
|
|
|||
19
examples/meshtastic/build-android/apk-release.sh
Executable file
19
examples/meshtastic/build-android/apk-release.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
# This creates a signed APK for the PlayStore.
|
||||
#
|
||||
# (1) set min sdk and target sdk in'app.pro'
|
||||
# (2) run 'make apk' before running this script
|
||||
|
||||
# hack to not include Qt Widgets on mobile (not used)
|
||||
rm -f android-build/libs/arm64-v8a/libQt5Widgets_arm64-v8a.so
|
||||
mv ../qml/ext/dialogs/Confirm.qml ../qml/ext/dialogs/.Confirm.qml
|
||||
mv ../qml/ext/dialogs/Message.qml ../qml/ext/dialogs/.Message.qml
|
||||
|
||||
~/Qt/5.15.2/android/bin/androiddeployqt \
|
||||
--input android-app-deployment-settings.json \
|
||||
--output android-build \
|
||||
--release \
|
||||
--sign <path-to-keystore-file>/my.keystore repl
|
||||
|
||||
# restore
|
||||
mv ../qml/ext/dialogs/.Confirm.qml ../qml/ext/dialogs/Confirm.qml
|
||||
mv ../qml/ext/dialogs/.Message.qml ../qml/ext/dialogs/Message.qml
|
||||
|
|
@ -51,6 +51,7 @@
|
|||
(q> |playing| ui:*busy* t))
|
||||
|
||||
(defun get-node-config ()
|
||||
;; see also Timer in 'qml/ext/Group.qml'
|
||||
(when *ready*
|
||||
(setf *schedule-clear* t)
|
||||
(setf *config-complete* nil
|
||||
|
|
@ -59,8 +60,7 @@
|
|||
(incf *config-id*)
|
||||
(send-to-radio
|
||||
(me:make-to-radio :want-config-id *config-id*))
|
||||
(q> |playing| ui:*busy* t)
|
||||
(qsingle-shot (* 15 60 1000) 'get-node-config))) ; every 15 min
|
||||
(q> |playing| ui:*busy* t)))
|
||||
|
||||
(defun set-ready (name &optional (ready t)) ; see Qt
|
||||
(setf *ready* ready)
|
||||
|
|
|
|||
|
|
@ -227,5 +227,12 @@ Rectangle {
|
|||
anchors.fill: rect
|
||||
visible: false
|
||||
}
|
||||
|
||||
Timer {
|
||||
interval: 15 * 60 * 1000 // 15 min
|
||||
repeat: true
|
||||
running: true
|
||||
onTriggered: Lisp.call("lora:get-node-config")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ Item {
|
|||
|
||||
Image {
|
||||
source: "img/logo-128.png"
|
||||
x: 2
|
||||
y: 2
|
||||
width: headerHeight
|
||||
height: width
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue