An example project showing how to make sub projects in Qt Creator. This has a base project with 3 sub projects: Application, Library, and Tests. Make sure to disable shadow build, and everything should work out of the box.