[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Error Building PyQt5 from Source
From: James Ross-Smith <jars121 () gmail ! com>
Date: 2017-08-03 8:45:49
Message-ID: CAFH0v3Y8LayWimviyUKW2uizR3fg5p6_Dq_qC87HxSPSod8PNA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Just a bit of an update on this issue.
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'):
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pi'
Could not find DRM device!
Aborted
I ran an 'ldd' on the libqeglfs.so which didn't show any missing packages.
Am I missing environment variables somewhere here?
Many thanks,
Jamie
On Wed, Aug 2, 2017 at 8:12 AM, James Ross-Smith <jars121@gmail.com> wrote:
> 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:
>
> SO Post
> <https://stackoverflow.com/questions/37788111/meta-qt-yocto-layer-change-default-qt-platform-qt-qpa-platform>
>
> I'll give this a go this evening and report back.
>
> Many thanks,
>
> Jamie
>
> On Wed, Aug 2, 2017 at 8:10 AM, Florian Bruhin <me@the-compiler.org>
> wrote:
>
> > On Wed, Aug 02, 2017 at 08:08:05AM +1000, James Ross-Smith wrote:
> > > Speaking of the environment export, am I correct in my understanding
> > that I
> > > simply add the "export QT_QPA_PLATFORM=eglfs" line to /etc/environment?
> >
> > I've never used /etc/environment, but at least on Archlinux a comment
> > says "Syntax: simple "KEY=VAL" pairs on separate lines", so you'd
> > probably drop the "export" there.
> >
> > Before trying that, I'd simply try the export-line in a shell before
> > you're starting your application (in the same shell).
> >
> > Florian
> >
> > --
> > https://www.qutebrowser.org | me@the-compiler.org (Mail/XMPP)
> > GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
> > I love long mails! | https://email.is-not-s.ms/
> >
>
>
[Attachment #5 (text/html)]
<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>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic