use qFatal instead of exception

* split / taken from commit d6a572