macOS: Pasteboard MIME Converter | Qt Mac Extras 5.9

Qt 5.9 | Qt Mac Extras | Qt Mac Extras Examples | macOS: Pasteboard MIME Converter

Qt 5.9.9 Reference Documentation

# macOS: Pasteboard MIME Converter

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.

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Files:

- macpasteboardmime/main.cpp
- macpasteboardmime/macpasteboardmime.pro

See also Qt for macOS and Qt Mac Extras.