[mlite] Enable building of a Qt 5 package.
[mlite] Compatibility fixes for Qt 5.