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 .