@Narasimha said in QPushButton->setMenu(QMenu) transparent removal not working:
Important:
Explain internal Qt painting behavior.
To add to @Axel-Spoerl :
I mean regarding this point, you could look it up yourself, if you care...
Qt has a very nice and detailed documentation.
Basically you demand a final and ready-to-use solution while refusing to do little work yourself. And you also did not mention if it worked with Qt 4.8 before.
Edit:
Also, your code compared to your expected output does not make any sense...
You apply a background-color #333 to both of your widgets A and B while your expected result shows a light gray background color for the left widget (assuming widget A).
That makes me doubt that you've really taken the time to seriously look into the code or the problem.