Instead of inheriting a generated class from public API, make the Ui class a private member instead.
Don't install the header file
Seems ok thanks
I commited your patch. Another user had problem to build messageviewer