This is how I recently built my QT5 lxi-tools snap:
The only downside is that the QT5 widgets/theme does not look that good because it’s based on the Ubuntu 16.04 LTS core image. The lxi-gui application looks better when natively built on e.g. Ubuntu 17.10. I’m not sure if there is a way to mitigate this - maybe easier to wait for an updated core image based on Ubuntu 18.04 LTS.