PDA

View Full Version : QML and SVG



BigSmartFastAndrey
27th March 2012, 11:33
Problem: SVG images are displayed as bitmap (raster) not vector graphics. WTF?

import QtQuick 1.0

Image {
source: "background.svg"

}

wysota
27th March 2012, 17:15
What exactly do you mean? At some point a vector image needs to be rasterized to be displayed.

Le_B
28th March 2012, 17:43
i agree but if you're having resizing issue that is because you need to use the sourceSize property and not the size