The Camera Module

After working your way through so many chapters with increasing difficulty, let's try out something simpler and more fun for this chapter instead! We will learn how to access our camera through Qt's multimedia module and take photos using it.

In this chapter, we will cover the following topics:

  • The Qt multimedia module
  • Connecting to the camera
  • Capturing a camera image to file
  • Recording a camera video to file

You can use this to create a video conference app, a security camera system, and more. Let's get started!

Get Hands-On GUI Programming with C++ and Qt5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.