Digital images have become an important aspect of our daily life. Whether it's a selfie, prom night photo, or a funny meme, we spend a lot of our time looking at digital images. In the following section, we will learn how to create our own image viewer using Qt and C++.
The image viewer
Designing a user interface for the image viewer
Let's get started with creating our first multimedia program. In this section, we will create an image viewer, which, as its name implies, opens up an image file and displays it on the window:
- Let's open up Qt Creator and create a new Qt Widgets Application project.
- After that, open up mainwindow.ui and add a Label (name it as imageDisplay) to the central widget, which will serve...