Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

qmlscene leaking memory on simple qml file

$
0
0
HI All, I got this simple qml file and qmlsceen is leaking memory while the image is bouncing around. This is on windows 64bit OpenGL installed from qt-opensource-windows-x86-1.5.0-2-online.exe the qml is: import QtQuick 2.0   Rectangle {     width: 360     height: 360     Text {         text: qsTr("Hello World")         anchors.centerIn: parent     }     MouseArea {         anchors.fill: parent         onClicked: {             Qt.quit();         }     }       Image {         id: image1         x: 8         y: 8         width: 45         height: 39         visible: true         source: "qq_pl80.png"         PropertyAnimation on x {              to:320;              duration:5000;              easing.type: Easing.OutBounce;              onStopped: {                  if (to===320) to=8;                  else {                      to=320;                      gc();                  }                  start();              }         }     } } Am I doing something wrong or this is “per design”? Shall I file a bug report?

Viewing all articles
Browse latest Browse all 4972

Trending Articles