Refined handling of (un)registration of .qch files.
The main issue seemed to be the call to process->waitForStarted() which
has been replaced by process->waitForFinished(). This is a little bit
slower at application start-up, but seems to resolve duplicate or missing
.qch entries.