Preview images | Qt Creator Documentation

- Qt Creator Documentation
- Preview images
- Qt Creator 19.0.0

Perform calculations ◦ Record text editing macros

# Preview images

When you hover the mouse cursor over an image reference in C++ or QML code, Qt Creator shows a thumbnail preview of the image in a tooltip. This helps you verify that you are using the correct image without leaving the editor.

To open the image in an external image viewer, select the file path in the tooltip.

Qt Creator shows the image preview when the image is referenced via a resource file (`.qrc`) or directly by its absolute file path.

See also Create resource files, How to: Edit code, Editing code, How to: Adapt the UI, and Adapting the UI.

Perform calculations ◦ Record text editing macros