macOS: Pasteboard MIME Converter

Demonstrates using QMacPasteboardMime class.

This example shows how to use QMacPasteboardMime to do conversion between a MIME type and a Uniform Type Identifier (UTI) format used on macOS.

The example creates a widget that accepts drag & drop events, and reads contents of dropped business cards in vCard format.

運行範例

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

範例工程 @ code.qt.io

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