macOS Functions

Demonstrates using functions from the QtMac namespace.

This example shows how to convert an image between a QPixmap and a CGImageRef using functions from the QtMac namespace.

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.

Example project @ code.qt.io

See also Qt for macOS and Qt Mac Extras.