Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0, 5.6.1
-
None
-
Windows. Maybe others.
Description
I am unable to draw text on a Mono_LSB QImage using QPainter.
I fill the QImage with color0 using QImage::fill(Qt::color0); then try to use a QPainter to draw text with color Qt::color1.
The text doesn't show up.
This used to work in versions prior to Qt 5.6.
If I change the code to use Qt::white for the text, it shows up OK.
See attached mono.zip for a reproducible test case.
Attachments
For Gerrit Dashboard: QTBUG-54827 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165872,3 | Backwards compatibility fix: No default colormap for Mono QImages | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |