Chapter 4. Controlling Camera and Taking Photos

Through this chapter, you'll find how easy it is to access and control a camera with Qt. The example in this chapter also demonstrates how to utilize the status bar and menu bar. In addition to the traditional Qt Widget applications, there is a QML camera example, which does the same thing as Qt/C++ but in a more elegant way. The following topics, which are covered in this chapter, will extend your application:

  • Accessing the camera in Qt
  • Controlling the camera
  • Displaying errors in the status bar
  • Displaying the permanent widgets in the status bar
  • Utilizing the menu bar
  • Using QFileDialog
  • Using the QML Camera

Accessing the camera in Qt

Although we won't talk about the technical details of how a camera works, ...

Get Qt 5 Blueprints now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.