macOS: Embedded QWindow

This macOS-specific example shows how to create a view hierarchy containing a QWindow , with handling of Qt's mouse and keyboard events.

运行范例

要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,拜访 构建和运行范例 .

文件:

另请参阅 Qt for macOS and Qt Mac Extras .