Hello!!

I am using Qt 4.3.2 and I am trying to save Image Element in QML. For saving the image I tried grabtoImage but couldn't get the result. I really appreciate it if anyone could help me.

Here is the code:

import QtQuick 2.6
import QtQuick.Window 2.2

Window {
id:source
visible: true
width: 640
height: 480
title: qsTr("Hello World")



Image {
id: visualImage
source: "L1.png"
Text {
id: buttontext
x:40
y:20
font.bold: true
font.pointSize: 24
text: "R1"
}
}

}