Issue related to winId and WA_TranslucentBackground
I created a window and set FramelessWindowHint and WA_TranslucentBackground in order to make it have round corners. And I created another widget that is added to this window, the winId of this widget is got to paint outside Qt's paint system. Unfortunately nothing is displayed on the widget, but everyting works correctly if WA_TranslucentBackground of its parent is NOT set to true. The case is like: About FramelessWindowHint and winId.
I tried setting both WA_TranslucentBackground and WA_NoSystemBackground to false for that widget, but it does not work.
Does any expert know the root cause and solution?