Problem on Shown a masked Qml Object on Huawei device
Unsolved
Mobile and Embedded
-
Hi,
You should show the code you use for that as well as provide the version of Android you use on your device.
On a side note, I don't know whether the people on your picture are fake data or not but if they are not, you are providing their phone number to anybody reading this topic.
-
the persons and their number are fake.
my android version is 4.4
it's my code:Rectangle {
id: mycanvas
width: height
height: parent.height0.9
radius: height
clip: true
x:parent.width.030
y:(parent.height-height )*0.5Image { visible: false id: picture height: parent.height width: height z:-2 Rectangle{ //halat difualt z:-1 color: "#dbd8d8" anchors.fill: parent Text { text: "o" font.family: icons.name anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: ratio*17 color: "white" } } } OpacityMask{ anchors.fill: picture source: picture maskSource: mycanvas }
}