qt5: ccimx8x: change platform plugin to EGLFS when not using XWayland

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2018-09-06 18:20:12 +02:00
parent 913a8462c2
commit 04fc47605d
1 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,5 @@
#!/bin/sh
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORM="wayland"
# Use EGLFS platform plugin for images without XWayland
[ -f "/etc/profile.d/weston.sh" ] || export QT_QPA_PLATFORM="eglfs"