macOS Functions

Demonstrates using functions from the QtMac 名稱空間。

This example shows how to convert an image between a QPixmap and a CGImageRef using functions from the QtMac 名稱空間。

運行範例

要運行範例從 Qt Creator ,打開 歡迎 模式,然後選擇範例從 範例 。更多信息,拜訪 構建和運行範例 .

範例工程 @ code.qt.io

另請參閱 Qt for macOS and Qt Mac Extras .