Solved: Maemo 5: Can only draw white text
-
@ QBrush brush; brush.setColor(Qt::red);
QFont font;
font.setPointSize(60);
painter->setBrush(brush);
painter->setFont(font);
painter->drawText(10,130,tr("test"));@This code draws only white text on Maemo and only black text on windows..
How can I cange the text color ? Is setBrush the wrong approach? -
You can write less code
@
painter->setPen(Qt::black);
@