Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

While trying to migrate pyqt5 code to pyqt6, i have occured a problem with setWindowFlags: self.setWindowFlags(Qt.WindowStaysOnTopHint) returns an error: AttributeError: type object 'Qt' has no attribute 'WindowStaysOnTopHint' . So wat is the similar in PyQt6?