Qmlscene leaking memory on simple qml file



  • 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?



  • Seems like this is QTBUG-28712 Please vote for it as it seems important


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.