Enable running on the wayland platform plugin

Change-Id: I472279f6f391b036f5af9eb6a07f6803b3786320
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>