But Qt.WA_TranslucentBackground is a widget attribute: https://doc.qt.io/qt-5/qt.html#WidgetAttribute-enum not a flag for a window: https://doc.qt.io/qt-5/qt.html#WindowType-enum Is this how we set attributes for QML? Seems counter intuitive.