Can anyone help me understand why the following code doesn't work on Android?
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Window 2.0
ApplicationWindow {
id: mainWindow
visible: true
height: 800
width: 600
x: 0
y: 0
title: qsTr("Test")
color: "blue"
Window {
id: searchLocationWindow
visible: true
height: mainWindow.height
width: mainWindow.width
x: mainWindow.x
y: mainWindow.y
color: "green"
modality: Qt.ApplicationModal
}
}
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Window 2.0
ApplicationWindow {
id: mainWindow
visible: true
height: 800
width: 600
x: 0
y: 0
title: qsTr("Test")
color: "blue"
Window {
id: searchLocationWindow
visible: true
height: mainWindow.height
width: mainWindow.width
x: mainWindow.x
y: mainWindow.y
color: "green"
modality: Qt.ApplicationModal
}
}
To copy to clipboard, switch view to plain text mode
It works on Ubuntu 16.04.1 AMD64, but on Android the "searchLocationWindow" doesn't show at all, it's opened because it doesn't receive the "back" command but it isn't visible.
Tried with both Qt 5.5.1 and Qt 5.6.2 on Android 5.0.1
Bookmarks