mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
prepare for SailfishOS (Qt5.15 libs & qt-runner)
This commit is contained in:
parent
8cc84acbcc
commit
b07152d7d4
28 changed files with 99 additions and 59 deletions
|
|
@ -11,8 +11,7 @@ Item {
|
|||
}
|
||||
|
||||
function message(text) {
|
||||
if ((Qt.platform.os === "android") ||
|
||||
(Qt.platform.os === "ios")) {
|
||||
if (Lisp.call("qml:mobile-p")) {
|
||||
loader.source = "MessageMobile.qml"
|
||||
} else {
|
||||
loader.source = "Message.qml"
|
||||
|
|
@ -23,8 +22,7 @@ Item {
|
|||
}
|
||||
|
||||
function confirm(title, text, callback) {
|
||||
if ((Qt.platform.os === "android") ||
|
||||
(Qt.platform.os === "ios")) {
|
||||
if (Lisp.call("qml:mobile-p")) {
|
||||
loader.source = "ConfirmMobile.qml"
|
||||
} else {
|
||||
loader.source = "Confirm.qml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue