bugfix qtfree writetofile
regeneration