## 问题 当我给 `QMainWindow` 设置 `WidgetWindowAgent#setup` 后,该选项变成不可用 <img width="250" alt="Image" src="https://github.com/user-attachments/assets/da7c7e16-12e2-4268-8c15-02182fbc8d2d" /> ---- 取消后,就可以用了 <img width="250" alt="Image" src="https://github.com/user-attachments/assets/a56997f4-c728-484e-aa48-9622e88bb791" /> ---- 我已经将复现代码上传到 GitHub:https://github.com/starxg/qwindowkit-macos-bugs ## Window 菜单 Window 菜单通过 `[NSApp setWindowsMenu:nsMenu];` 设置,具体请查看:[osx-native.mm](https://github.com/starxg/qwindowkit-macos-bugs/blob/main/osx-native.mm#L13)
问题
当我给
QMainWindow设置WidgetWindowAgent#setup后,该选项变成不可用取消后,就可以用了
我已经将复现代码上传到 GitHub:https://github.com/starxg/qwindowkit-macos-bugs
Window 菜单
Window 菜单通过
[NSApp setWindowsMenu:nsMenu];设置,具体请查看:osx-native.mm