Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.2.6
-
None
-
d8e213a9e (dev), c9cf4037c (dev), 5b938f772 (6.5), 17d4582b9 (6.5), 2d87c4d88 (dev), 7c84a0cd2 (dev), 8df821460 (6.5), 1a37fd314 (tqtc/lts-6.2), 119759029 (tqtc/lts-6.2), c381d4b12 (tqtc/lts-6.2), 9242363fa (6.4), 8f19bab7b (6.4), c35691cd1 (6.4)
Description
If an <img> tag in a QLabel uses "qrc:/" to begin the URL the image will not be loaded.
This appears to be a regression from QTBUG-60793, as prior to that commit QTextImageHandler.cpp would remove the 'qrc' from the front of these urls. _q_resolveEntryAndCreateLegacyEngine_recursive in qfilesystemengine.cpp assumes resource URLs begin with ':' so it will no longer create as QResourceFileEngine for urls starting with 'qrc'.