View Full Version : QLabel link color

16th October 2007, 17:05

Iám using Qt-4.2.2 on Windows XP Proffesional
I had a problem to make change the link color on QLabel.
According the docs you can change the link color with inline style but that doesn't work on Windows XP Proffesional.
I didn't try it on my Linux system fc7.
I have found a solution for this problem on Windows XP Proffesional.
This is my solution.
QLabel("<b><a style=\"font-size:10pt; color:white;\"href>Search</a></b>");
If anybody has the same problem with Windows XP Proffesional this can be the solution.

17th October 2007, 07:09