How to set a shadow effect for fonts？
I want to set a shadow effect on my text, but I don't know how to achieve it. The text is on my QLabel.
Thanks in advance!
@Qt_crazyer Text where? On a
QLabel, where? :D
Sorry, I didn't say it clearly. It's on my QLabel.
For a label you could use a graphics effect:
auto effect = new QGraphicsDropShadowEffect(label); label->setGraphicsEffect(effect);
You can play around with the effect's properties like offset, color and blur radius.