Importing new cmake template from Backgammon game
Don't assume the project will be an application; it could be a library
Use substrings rather than expensive gsubs
Adding QtTest framework support
Switching to new CMake Automoc feature
Make default release type appear in cache, and fix whitespace inconsistency
Test names follow subdirectories; full QtTest library path used
Subdirectory archives should be linked into the main target

This is really only important if the main target is a shared library.
Link Qt libraries after subdirectory convenience libraries

If not, certain required symbols may not get compiled into the final target.
Adding header guards to defines.h files
Removing dependency on ruby preprocessing script

Everything can be done adequately directly in CMake
Projects names with hyphens would break the defines file
Adding Windows installer & appicon
Adding Readme, and renaming licence file to make it more "normal"
Include the source dir headers, or generated ui_*.h files may fail
Tweak QRC file header
Change PROJECT_NAME to PROJECT_LONGNAME for parity with cmake
Porting the project to Qt5
Updating for Qt5 on Windows
Disabling exceptions is a little pedantic, and this doesn't play well with other compilers