AnsweredAssumed Answered

qt5 error: Failed to open device: No such file or directory, Try again...

Question asked by cliff ma on Jan 19, 2019
Latest reply on Jan 22, 2019 by Joan Xie

we fetch the BSP by executing: repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml.

we comile root file system by following steps:

   DISTRO=fsl-imx-fb MACHINE=imx6qsabresd source fsl-setup-release.sh  -b build-fb

   bitbake fsl-image-qt5

then we reconfigure kernel source file .config by make menuconfig, add some option to support PCI :

Bus support  --->             

                   [*] PCI support

                   [*] Message Signaled Interrupts (MSI and MSI-X)

         PCI host controller drivers  --->

                            [*] Freescale i.MX6 PCIe controller

 

we got following issues when excuted qt program such as /usr/share/qt5/examples/touch/fingerpaint:

root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint# ./fingerpaint
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
[ 1] Failed to open device: No such file or directory, Try again...
[ 2] Failed to open device: No such file or directory, Try again...

[ 3] Failed to open device: No such file or directory, Try again...
[ 4] Failed to open device: No such file or directory, Try again...
[ 5] _OpenDevice(1229): FATAL: Failed to open device, errno=No such file or directory.
[ 6] Failed to open device: No such file or directory, Try again...
[ 7] Failed to open device: No such file or directory, Try again...
[ 8] Failed to open device: No such file or directory, Try again...
[ 9] Failed to open device: No such file or directory, Try again...
[ 10] _OpenDevice(1229): FATAL: Failed to open device, errno=No such file or directory.
root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint#
root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint#

 

could anyone figure out the reasons of situation and how to fix it?

Outcomes