macOS Functions | Qt Mac Extras 5.9

Qt 5.9 | Qt Mac Extras | Qt Mac Extras Examples | macOS Functions

Qt 5.9.9 Reference Documentation

# macOS Functions

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.

Files:

- macfunctions/main.cpp
- macfunctions/macfunctions.pro
- macfunctions/macfunctions.qrc

See also Qt for macOS and Qt Mac Extras.