QPainter::drawText ignores Alpha
@ QColor color = QColor::fromRgb(charColors.at(curPos + spaceBoxesLeft));
painter.drawText(rect, Qt::AlignVCenter | Qt::AlignCenter, textString.at(curPos + spaceBoxesLeft));@
The text changes its colour and the rect changes colour and alpha.
How can I make the text to change its alpha as well?
Setting a pen color with alpha and then drawing text works here perfectly...