Ported Qompose to use Qt5.
Fixed several error-reporting issues.