A script to create a new project from templates was available in Harmattan for both QML and MeeGoTouch projects, licensed as GPL.
This is just a mirror with the hope that it will be useful for other platforms (Ubuntu Phone OS, Jolla's Sailfish OS) of the original sources available at http://harmattan-dev.nokia.com.
(I am also attributing the authorship to Juha-Pekka Jokela, who is listed as the contact in the script).