diff options
Diffstat (limited to 'examples/qml-compositor')
-rw-r--r-- | examples/qml-compositor/background.jpg | bin | 0 -> 30730 bytes | |||
-rw-r--r-- | examples/qml-compositor/qml-compositor.qrc | 2 | ||||
-rw-r--r-- | examples/qml-compositor/qml/QmlCompositor/main.qml | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/qml-compositor/background.jpg b/examples/qml-compositor/background.jpg Binary files differnew file mode 100644 index 000000000..445567fbd --- /dev/null +++ b/examples/qml-compositor/background.jpg diff --git a/examples/qml-compositor/qml-compositor.qrc b/examples/qml-compositor/qml-compositor.qrc index 602681a6e..0dc86580c 100644 --- a/examples/qml-compositor/qml-compositor.qrc +++ b/examples/qml-compositor/qml-compositor.qrc @@ -1,7 +1,7 @@ <!DOCTYPE RCC><RCC version="1.0"> <qresource> + <file>background.jpg</file> <file>qml/QmlCompositor/main.qml</file> - <file>qml/QmlCompositor/background.jpg</file> <file>qml/QmlCompositor/compositor.js</file> <file>qml/QmlCompositor/ShaderEffect.qml</file> <file>qml/QmlCompositor/WindowChrome.qml</file> diff --git a/examples/qml-compositor/qml/QmlCompositor/main.qml b/examples/qml-compositor/qml/QmlCompositor/main.qml index a82327f8e..8cb92e4da 100644 --- a/examples/qml-compositor/qml/QmlCompositor/main.qml +++ b/examples/qml-compositor/qml/QmlCompositor/main.qml @@ -50,7 +50,8 @@ Item { Image { id: background anchors.fill: parent - source: "background.jpg" + fillMode: Image.Tile + source: "../../background.jpg" smooth: true } |