Make into a proper Qt module.