相关文章推荐
酒量小的充值卡  ·  python ...·  9 月前    · 
性感的小蝌蚪  ·  Spring ...·  1 年前    · 
重情义的牛肉面  ·  error typeerror ...·  1 年前    · 
聪明的啤酒  ·  mysql - Error Code: ...·  1 年前    · 
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?