Hello,

I am creating a popup label, and I want it to be looking like a Tooltip. My platform is Win7 x64 Qt 4.7.4. Below is my code:

Qt Code:
  1. label->setPalette( QToolTip::palette() );
To copy to clipboard, switch view to plain text mode 

But when running, the label can not has a system tooltip looking. I attached 2 screenshots in this thread. One the label that looks like on my PC, another is the QToolTip image.

Anybody know what's wrong of my code? How can I set the QLabel to look like QToolTip? Thanks.


p1.pngp2.png