Reputation: 79
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?
Upvotes: 5
Views: 4023