Demonstrates embedding a QWindow into an view hierarchy of a macOS application.
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 .