<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic qt5 error: Failed to open device: No such file or directory, Try again... in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886453#M134267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we fetch the BSP by executing:&amp;nbsp;&lt;SPAN style="font-size: 6.5pt;"&gt;&lt;SPAN&gt;repo init -u &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fimx-manifest" rel="nofollow" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt;&lt;SPAN&gt; -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 6.5pt;"&gt;we comile root file system by following steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DISTRO=fsl-imx-fb MACHINE=imx6qsabresd source fsl-setup-release.sh&amp;nbsp; -b build-fb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;bitbake fsl-image-qt5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt;"&gt;then we reconfigure kernel source file .config by make menuconfig, add some option to support PCI :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;SPAN&gt;Bus support&amp;nbsp; ---&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] PCI support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] Message Signaled Interrupts (MSI and MSI-X)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCI host controller drivers&amp;nbsp; ---&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] Freescale i.MX6 PCIe controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 6.5pt;"&gt;we got following issues when excuted qt program such as&amp;nbsp;&lt;SPAN&gt;/usr/share/qt5/examples/touch/fingerpaint:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint# ./fingerpaint &lt;BR /&gt;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'&lt;BR /&gt;QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.&lt;BR /&gt; If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1&lt;BR /&gt;[ 1] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 2] Failed to open device: No such file or directory, Try again...&lt;/P&gt;&lt;P&gt;[ 3] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 4] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 5] _OpenDevice(1229): FATAL: Failed to open device, errno=No such file or directory.&lt;BR /&gt;[ 6] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 7] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 8] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 9] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 10] _OpenDevice(1229): FATAL: Failed to open device, errno=No such file or directory.&lt;BR /&gt;root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint# &lt;BR /&gt;&lt;A href="mailto:root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint"&gt;root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone figure out the reasons of situation and how to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jan 2019 12:06:20 GMT</pubDate>
    <dc:creator>cliffma</dc:creator>
    <dc:date>2019-01-19T12:06:20Z</dc:date>
    <item>
      <title>qt5 error: Failed to open device: No such file or directory, Try again...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886453#M134267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we fetch the BSP by executing:&amp;nbsp;&lt;SPAN style="font-size: 6.5pt;"&gt;&lt;SPAN&gt;repo init -u &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fimx-manifest" rel="nofollow" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt;&lt;SPAN&gt; -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 6.5pt;"&gt;we comile root file system by following steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DISTRO=fsl-imx-fb MACHINE=imx6qsabresd source fsl-setup-release.sh&amp;nbsp; -b build-fb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;bitbake fsl-image-qt5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt;"&gt;then we reconfigure kernel source file .config by make menuconfig, add some option to support PCI :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 18.0pt;"&gt;&lt;SPAN&gt;Bus support&amp;nbsp; ---&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] PCI support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] Message Signaled Interrupts (MSI and MSI-X)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCI host controller drivers&amp;nbsp; ---&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] Freescale i.MX6 PCIe controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 6.5pt;"&gt;we got following issues when excuted qt program such as&amp;nbsp;&lt;SPAN&gt;/usr/share/qt5/examples/touch/fingerpaint:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint# ./fingerpaint &lt;BR /&gt;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'&lt;BR /&gt;QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.&lt;BR /&gt; If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1&lt;BR /&gt;[ 1] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 2] Failed to open device: No such file or directory, Try again...&lt;/P&gt;&lt;P&gt;[ 3] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 4] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 5] _OpenDevice(1229): FATAL: Failed to open device, errno=No such file or directory.&lt;BR /&gt;[ 6] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 7] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 8] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 9] Failed to open device: No such file or directory, Try again...&lt;BR /&gt;[ 10] _OpenDevice(1229): FATAL: Failed to open device, errno=No such file or directory.&lt;BR /&gt;root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint# &lt;BR /&gt;&lt;A href="mailto:root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint"&gt;root@imx6qsabresd:/usr/share/qt5/examples/touch/fingerpaint#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone figure out the reasons of situation and how to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2019 12:06:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886453#M134267</guid>
      <dc:creator>cliffma</dc:creator>
      <dc:date>2019-01-19T12:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: qt5 error: Failed to open device: No such file or directory, Try again...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886454#M134268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls refer to the document which tell you how to set Environment variables:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://community.chakralinux.org/t/how-do-i-set-the-environment-variable-xdg-runtime-dir-to-tmp-runtime-root/6900/2" title="https://community.chakralinux.org/t/how-do-i-set-the-environment-variable-xdg-runtime-dir-to-tmp-runtime-root/6900/2"&gt;How do I set the environment variable XDG_RUNTIME_DIR to '/tmp/runtime-root'? - Help - Chakra's Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink11" href="https://wiki.archlinux.org/index.php/environment_variables" title="https://wiki.archlinux.org/index.php/environment_variables"&gt;https://wiki.archlinux.org/index.php/environment_variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 09:20:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886454#M134268</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2019-01-22T09:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: qt5 error: Failed to open device: No such file or directory, Try again...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886455#M134269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m having exactly the same issue.&lt;/P&gt;&lt;P&gt;Can you precise which export solved this issue please ?&lt;/P&gt;&lt;P&gt;Here are my export:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;export EDITOR="vi"&lt;BR /&gt;export FB_FRAMEBUFFER_0="/dev/fb2"&lt;BR /&gt;export FB_MULTI_BUFFER="3"&lt;BR /&gt;export HOME="/home/root"&lt;BR /&gt;export HUSHLOGIN="FALSE"&lt;BR /&gt;export HZ="100"&lt;BR /&gt;export LD_LIBRARY_PATH="/usr/lib/imx-mm/video-codec/:/usr/lib/imx-mm/audio-codec/:/usr/lib/imx-mm/parser/"&lt;BR /&gt;export LOGNAME="root"&lt;BR /&gt;export OLDPWD&lt;BR /&gt;export OPIEDIR&lt;BR /&gt;export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"&lt;BR /&gt;export PS1="\\u@\\h:\\w\\\$ "&lt;BR /&gt;export PWD="/home/root"&lt;BR /&gt;export QPEDIR&lt;BR /&gt;export QTDIR&lt;BR /&gt;export QT_QPA_EGLFS_HIDECURSOR="1"&lt;BR /&gt;export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="/dev/input/event5"&lt;BR /&gt;export QT_QPA_PLATFORM="eglfs"&lt;BR /&gt;export SHELL="/bin/sh"&lt;BR /&gt;export SHLVL="1"&lt;BR /&gt;export TERM="xterm"&lt;BR /&gt;export TZ="UTC"&lt;BR /&gt;export USER="root"&lt;BR /&gt;export XDG_RUNTIME_DIR="/var/run"&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 14:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/qt5-error-Failed-to-open-device-No-such-file-or-directory-Try/m-p/886455#M134269</guid>
      <dc:creator>pierre_godichea</dc:creator>
      <dc:date>2020-02-10T14:17:05Z</dc:date>
    </item>
  </channel>
</rss>

