In the previous chapter, you learned how to create a robust application with unit tests. The final step for an application is packaging. The Qt framework enables you to develop cross-platform applications, but packaging is really a platform-specific task. Moreover, when your application is ready to be shipped, you need a one-step procedure to generate and pack your application.
In this chapter, we will reuse the gallery application (both on desktop and mobile platforms) to learn the steps required to package a Qt application. There are many ways to prepare the packaging of an application. In this chapter, we want to package the gallery application from Chapter 4, Conquering the Desktop UI, and Chapter 5, Dominating the Mobile UI, on the supported platforms (Windows, Linux, macOS, Android, and iOS).
The following topics will be covered in this chapter...