diff options
Diffstat (limited to 'tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml')
-rw-r--r-- | tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml b/tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml new file mode 100644 index 0000000000..d56786bfae --- /dev/null +++ b/tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml @@ -0,0 +1,13 @@ +import QtQuick 2.0 + +Rectangle { + Image { + source: "TestImage_2x2.png" + onStatusChanged: switch (status) { + case 0: console.log("no image"); break; + case 1: console.log("image loaded"); break; + case 2: console.log("image loading"); break; + case 3: console.log("image error"); break; + } + } +} |