There is no need to spend much time on application organization issues; the application architecture model we have provided from Chapter 1, Writing Acceptance Tests and Building a Visual Prototype, to Chapter 3, Wiring User Interaction and Delivering the Final App, is general enough to be applicable also in this case, and that's precisely its beauty.
Since the application we will be developing in this chapter and the applications we will be developing in the next two chapters will be part of the same fictitious application suite (cutecomics
), we will certainly share some entities, and perhaps other components, between applications.
Go ahead and create all the needed sub-projects in Qt Creator. We could envision the following code base structure:
# part2-cute_comics.pro TEMPLATE = subdirs SUBDIRS += \ cutecomics/entities \ cutecomics/usecases \ cutecomics/gui \ ccpanels
The main sub-project will be called part2-cute_comics.pro
, and should be...