[PyQt] Error Building PyQt5 from Source
jars121 at gmail.com
Thu Aug 3 09:45:49 BST 2017
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!
I ran an 'ldd' on the libqeglfs.so which didn't show any missing packages.
Am I missing environment variables somewhere here?
On Wed, Aug 2, 2017 at 8:12 AM, James Ross-Smith <jars121 at 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
> I'll give this a go this evening and report back.
> Many thanks,
> On Wed, Aug 2, 2017 at 8:10 AM, Florian Bruhin <me at the-compiler.org>
>> 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).
>> https://www.qutebrowser.org | me at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt