user57264
0
Q:

how to add window background in pyqt5

stylesheet = """
    MainWindow {
        background-image: url("D:/_Qt/img/cat.jpg"); 
        background-repeat: no-repeat; 
        background-position: center;
    }
"""
0

New to Communities?

Join the community