In this chapter, we learned about using raster graphics with Qt Widgets. What was presented in this chapter will let you implement custom widgets with painting and event handling. We also described how to handle image files and do some basic painting on images. This chapter concludes our overview of CPU rendering in Qt.
In the next chapter, we will switch from raster painting to accelerated vector graphics and explore Qt capabilities related to OpenGL and Vulkan.