<div dir="ltr">Just a bit of an update on this issue.<div><br></div><div>I've managed to run a small test application using linuxfb with 'python3.6 App.py --platform linuxfb'. However, I receive an error when trying to use eglfs ('python3.6 App.py --platform eglfs'):</div><div><br></div><div>QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pi'</div><div><br></div><div>Could not find DRM device!<br>Aborted</div><div><br></div><div>I ran an 'ldd' on the libqeglfs.so which didn't show any missing packages.</div><div><br></div><div>Am I missing environment variables somewhere here?</div><div><br></div><div>Many thanks,</div><div><br></div><div>Jamie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 2, 2017 at 8:12 AM, James Ross-Smith <span dir="ltr"><<a href="mailto:jars121@gmail.com" target="_blank">jars121@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks again Florian. Interestingly this post on StackOverflow addresses the exact issue I'm having (also on a Raspberry Pi), with the solution you've identified:<div><br></div><div><a href="https://stackoverflow.com/questions/37788111/meta-qt-yocto-layer-change-default-qt-platform-qt-qpa-platform" target="_blank">SO Post</a><br></div><div><br></div><div>I'll give this a go this evening and report back.</div><div><br></div><div>Many thanks,</div><div><br></div><div>Jamie</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 2, 2017 at 8:10 AM, Florian Bruhin <span dir="ltr"><<a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, Aug 02, 2017 at 08:08:05AM +1000, James Ross-Smith wrote:<br>
> Speaking of the environment export, am I correct in my understanding that I<br>
> simply add the "export QT_QPA_PLATFORM=eglfs" line to /etc/environment?<br>
<br>
</span>I've never used /etc/environment, but at least on Archlinux a comment<br>
says "Syntax: simple "KEY=VAL" pairs on separate lines", so you'd<br>
probably drop the "export" there.<br>
<br>
Before trying that, I'd simply try the export-line in a shell before<br>
you're starting your application (in the same shell).<br>
<span class="m_3202126895857806499HOEnZb"><font color="#888888"><br>
Florian<br>
</font></span><div class="m_3202126895857806499HOEnZb"><div class="m_3202126895857806499h5"><br>
--<br>
<a href="https://www.qutebrowser.org" rel="noreferrer" target="_blank">https://www.qutebrowser.org</a>  | <a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a> (Mail/XMPP)<br>
   GPG: 916E B0C8 FD55 A072  | <a href="https://the-compiler.org/pubkey.asc" rel="noreferrer" target="_blank">https://the-compiler.org/pubke<wbr>y.asc</a><br>
         I love long mails!  | <a href="https://email.is-not-s.ms/" rel="noreferrer" target="_blank">https://email.is-not-s.ms/</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>