My app window has a black background, running in Python and drawn with QT5/Pyside2 on Windows 10:
self.setStyleSheet("background-color: black;")