macOS: Embedded QWindow | Qt Mac Extras 5.9

Qt 5.9 | Qt Mac Extras | Qt Mac Extras Examples | macOS: Embedded QWindow

Qt 5.9.9 Reference Documentation

# macOS: Embedded QWindow

This macOS-specific example shows how to create a view hierarchy containing a QWindow, with handling of Qt's mouse and keyboard events.

## 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:

- embeddedqwindow/window.cpp
- embeddedqwindow/window.h
- embeddedqwindow/embeddedqwindow.pro

See also Qt for macOS and Qt Mac Extras.