Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question I have a module call pcb_files.py that only have some imports like this
Tag: pyqt5
How to apply ‘Qt.WA_X11NetWmWindowTypeDesktop’ attribute to my QML window by using PyQt5
I am working on a desktop environment and I want my QML window as my main desktop window. I am integrating QML with PyQt5. here is my code main.qml main2.qml I tried adding window.setAttribute(Qt.WA_X11NetWmWindowTypeDesktop, True) in code but it doesn’t work. Also I tried adding Qt.Desktop flag also this doesn’t work. At the first time, it gave me error AttributeError: