hello I'm working on Qt designer and am creating a splash screen for my application but when I run my program it shows with frames so I wrote this this in my program
self.setWindowFlags(QtCore.Qt.FramelessWindowHint) this error come out
I really don't know how to fix it