此范例展示如何使用 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 ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,拜访 构建和运行范例 .
文件:
另请参阅 Qt for macOS and Qt Mac Extras .