diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-03-28 23:09:16 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-03-28 23:09:16 (GMT) |
commit | fbd4378fa12ba8f310a3ca9f6e7c1b393f596410 (patch) | |
tree | f1eb50ca2caaa832988763fa221a653d5617ebb3 /tests/auto/declarative/qdeclarativeimage | |
parent | f87e175eb03a6b455f70e12bb24f75c26eacb4c2 (diff) | |
download | Qt-fbd4378fa12ba8f310a3ca9f6e7c1b393f596410.zip Qt-fbd4378fa12ba8f310a3ca9f6e7c1b393f596410.tar.gz Qt-fbd4378fa12ba8f310a3ca9f6e7c1b393f596410.tar.bz2 |
doc
Diffstat (limited to 'tests/auto/declarative/qdeclarativeimage')
-rw-r--r-- | tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp b/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp index 9073750..c42a315 100644 --- a/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp +++ b/tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp @@ -281,6 +281,9 @@ void tst_qdeclarativeimage::svg() void tst_qdeclarativeimage::big() { + // If the JPEG loader does not implement scaling efficiently, it would + // have to build a 400 MB image. That would be a bug in the JPEG loader. + QString componentStr = "import Qt 4.6\nImage { source: \"" SRCDIR "/data/big.jpeg\"; sourceSize.width: 256; sourceSize.height: 256 }"; QDeclarativeComponent component(&engine); component.setData(componentStr.toLatin1(), QUrl::fromLocalFile("")); |