Flickr View Example | Qt WebKit Examples 5.4

- Qt 5.4
- Qt WebKit Examples
- Flickr View Example
- Qt 5.4.2 Reference Documentation

# Flickr View Example

The Flickr View Qt Quick example uses a WebView to browse the images from the Flickr public RSS feed.

FlickrView is an example that retrieves the flickr.com RSS feed of public photos utilizing an XmlListModel and shows the thumbnails in a ListView. When clicking on a thumbnail in the list at the bottom, the full size image is loaded in a WebView using the corresponding Flickr link for it. It is also possible to browse the profile of Flickr users in the WebView like in a normal browser. This demonstrates how navigaton can be restricted to a specific domain in the `onNavigationRequested` signal. The feed can be updated using pull-to-refresh at the end of the thumbnail list.

This example uses the QtWebKit QML API that utilizes the WebKit2 split-process architecture.

Files:

- webkitqml/flickrview/flickrview.qml
- webkitqml/flickrview/flickrview.pro
- webkitqml/flickrview/flickrview.qrc

Images:

- webkitqml/flickrview/images/flickr.png