I am creating a hyper link text through Qlabel but i am not able to change its color through Qpalette class?
I am able to change its color through stylesheet but why setting the color with QPalette is not working.
I have tried this
Did you read this warning in the QPalette documentation?
Warning: Some styles do not use the palette for all drawing, for instance, if they make use of native theme engines. This is the case for both the Windows XP, Windows Vista, and the Mac OS X styles.