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.

Preview of an image in an QML file

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.