Hi Guys,
form the fsl-image-qt5 rootfs for var-som-mx6,
I'm facing a problem when running QT application like below
root@var-som-mx6:/usr/share/qt5/examples# touch/dials/dials --platform linuxfb
This application failed to start because it could not find or load the Qt platform plugin "linuxfb".
Available platform plugins are: eglfs, minimal, minimalegl, offscreen.
Reinstalling the application may fix this problem.
Aborted
I added linuxfb & xcb on my local.conf and bitbaking again but still facing the same error..
it is /etc/profile.d/tslib.sh
export TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=480
export QT_QPA_EGLFS_PHYSICAL_WIDTH=800
export QT_QPA_EGLFS_HEIGHT=480
export QT_QPA_EGLFS_WIDTH=800
export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
export QT_QPA_EGLFS_DEPTH=24
export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0:size=800x480:mmSize=800x480
and please refer to my local.conf below.. thanks..
MACHINE ??= 'var-som-mx6'
DISTRO ?= 'fsl-imx-fb'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
EXTRA_IMAGE_FEATURES = " debug-tweaks tools-debug eclipse-debug"
IMAGE_INSTALL_append = " tcf-agent openssh-sftp-server qtbase-examples libusb-compat"
DISTRO_FEATURES_append = " xcb linuxfb"
Solved! Go to Solution.
Hello Hj Park,
I’m not familiar with the var-som-mx6 but in case it uses the same basis from the fsl qt image perhaps you may need to append on the qtbase:
PACKAGECONFIG_append_pn-qtbase = " linuxfb "
Please let us know of your findings!
Regards,
Hello Hj Park,
I’m not familiar with the var-som-mx6 but in case it uses the same basis from the fsl qt image perhaps you may need to append on the qtbase:
PACKAGECONFIG_append_pn-qtbase = " linuxfb "
Please let us know of your findings!
Regards,
Great!!..
you fixed my problem..
I have appended linuxfb on DISTRO like this
DISTRO_FEATURES_append = " linuxfb"
but, it doesn't fix my problem but your below answer fixes my problem..
PACKAGECONFIG_append_pn-qtbase = " linuxfb "
Thanks a lot..