[Interest] Don't get expected result from drawing StaticText with HTML
giuseppe.dangelo at kdab.com
Tue May 14 21:15:30 CEST 2019
On 14/05/2019 20:07, Martin Marmsoler wrote:
> I store this String in a QStaticText (staticText)and draw this text with
> But the result is that the hole text is red and not only the part "arke"
Which Qt version are you using, under which OS, etc.?
Do you have a minimal testcase somewhere?
Did you already try painting a QTextDocument directly, without going
through QStaticText? (At least it would point out if there's a bug in
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
More information about the Interest