How to create smooth rounded corners on a popup widget in Qt
I've been searching for hours now - without much luck. I have a widget with the windowsflag Qt::Popup set, and I'm trying to create smooth rounded corners. I've tried using a stylesheet, but then the transparent part of the corners become black. The same happens if a overwrite the widget's paint event and draw a rectangle with rounded corners in the widget. I've also tried to set a mask, but the result gets very pixelated. After some reading I found out that the black corners appears because the widget is a top-level widget. But I would think that it's still possible somehow? Does anyone know