-platform eglfs

85 views
Skip to first unread message

Samir Bhatt

unread,
Dec 4, 2014, 9:14:01 AM12/4/14
to go-...@googlegroups.com
Hi all,

Could someone point me in the right direction?

I am trying to run the painting-es2 example, but it seems that the go build generated binaries don't respect the Qt -platform flags.

I am trying to build for the RaspberryPi with the -platform eglfs option.
When I try to specify -platform eglfs, it seems to ignore the option and complain that it couldn't load "xcb"
On a previous Qt 5.2 build for the Pi where eglfs was the default render target the example built and ran properly.
 
Is there any way to specify this option? I'd rather not have to compile Qt for the Pi with platform eglfs as the default over xcb.

Any light anyone could shed on this matter would be greatly appreciated!

Cheers,
Samir

Samir Bhatt

unread,
Dec 4, 2014, 5:28:31 PM12/4/14
to go-...@googlegroups.com
After many hours of searching I stumbled across the QT_QPA_PLATFORM environment variable. Setting QT_QPA_PLATFORM=eglfs allows the example to run.
Hopefully this can help out some other bemused searcher!

Cheers,
Samir

Gustavo Niemeyer

unread,
Dec 10, 2014, 1:02:17 PM12/10/14
to Samir Bhatt, go-...@googlegroups.com
Thanks for the hint Samir. There are indeed many ways to tweak Qt's behavior via environment variables, and that's one I don't recall going through either.

--
You received this message because you are subscribed to the Google Groups "go-qml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-qml+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages