Based on:
https://github.com/shibukawa/qtscriptgenerator
