diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-12-21 14:30:36 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-12-22 00:48:08 +0100 |
commit | c9cf4037cafe22aa20cfea6efe1c6a4c7211d21f (patch) | |
tree | 64e6f72557ffd96fbe7a6b9a6c462ff6579b58a2 /tests/auto/corelib/global/qlogging | |
parent | d8e213a9e6b3013f768cbf4d94878cd2a0f7bb79 (diff) |
QTextImageHandler: Add test coverage for resources and URLs
If an image source in HTML is specified via local file name or resource
path (i.e. without qrc prefix), then the correct image is loaded.
With file:/ or qrc:/ schema however, the image is either not loaded at
all, or the 2x image is not loaded. The qt_findAtNxFile helper in
qicon.cpp gets a URL path, but expects a file path (that can be tested
with QFile::exists).
Task-number: QTBUG-109212
Pick-to: 6.5 6.4 6.2
Change-Id: Ibcf687c69b3e53a10f21d718d28c8177a02d6be6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qlogging')
0 files changed, 0 insertions, 0 deletions