summaryrefslogtreecommitdiff
path: root/tests/auto/qsvgplugin
Commit message (Collapse)AuthorAgeFilesLines
* Use QList instead of QVectorJarek Kobus2020-06-081-1/+0
| | | | | | Task-number: QTBUG-84469 Change-Id: I8c3e80c77422abeb23fff747bf4ca479ff0d35b3 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Regenerate qtsvgwip/cmakeAlexandru Croitor2020-02-121-2/+1
| | | | | | Change-Id: I6f444b939e14263a5f9f4ac7fdfcd0f45ccaa453 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Regenerate projectsAlexandru Croitor2019-11-151-3/+2
| | | | | | Change-Id: Ie5198bc76688e40170a8b0a401435f97898bb818 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/wip/qt6' into wip/cmakeAlexandru Croitor2019-08-153-36/+35
|\ | | | | | | Change-Id: I886cfdcd8bd124a02c54f23b694799610f60d7bd
| * Android: Fix QSVGPlugin testEskil Abrahamsen Blomfeldt2019-06-252-17/+17
| | | | | | | | | | | | | | | | | | Assets have to be included in the resources in order to be accessible when testing on a remote device. Task-number: QTBUG-73625 Change-Id: I80332b6492bffc01c0157918b9e6abbc2b87a43b Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* | Fix build with strict add_qt_resourceSimon Hausmann2019-08-091-15/+20
| | | | | | | | | | | | | | Re-generate the CMakeLists.txt to ensure the PREFIX is specified. Change-Id: I50fad8cdb10715ff53d0e6451b252c81b6c42c4a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix qsvgplugin unit testLeander Beernaert2019-05-291-1/+1
| | | | | | | | | | | | | | | | | | Updated qsvg tests with the fix for relative paths in pro2cmake.py. qsvgplugin now passes without issues. Change-Id: I6dd13bf85fd6b3ea781fc2ed251cb57a82e10ff5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | cmake: Initial CMake build system supportKevin Funk2019-05-031-0/+39
|/ | | | | | | | Task-number: QTBUG-74135 Done-With: Alexandru Croitor <alexandru.croitor@qt.io> Done-With: Liang Qi <liang.qi@qt.io> Change-Id: I81fdc3d06f53e78182352214ef4687924dfc6fb6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Consider relative path in image tagsLars Schmertmann2018-11-304-0/+66
| | | | | | Task-number: QTBUG-16198 Change-Id: I26bf48cbac39af0fae490ed21579e8de326cd1a3 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Use defaultSize according to svg standard in svg pluginLars Schmertmann2017-01-0416-0/+193
The viewBox attribute defines the svg internal coordinate system. If no width/height is set, the viewBox size is the right choice for defaultSize. Otherwise the standard prescribes that the specified height/width must be used. The old behavior ignored the width and height attributes, and this caused a lot of problems in qml. If the viewBox was very small the result was a low resolution image. If the viewBox was very large, loading took ages and the result used much more memory than needed. Both situations could be avoided by setting sourceSize. But when using the same image several times, the sourceSize must be set every time to the same value, otherwise the image cache would not work. It is cheaper to have the same high-quality source image in the cache, and scale it down when required. With the new behavior it is possible to control the default image size directly in the svg file at one place while it is still possible to set different sourceSizes if needed. Task-number: QTBUG-44863 Change-Id: I9c2fc7c122a29ebcf288b7cbd12427e081d404d5 Reviewed-by: André Klitzing <aklitzing@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>