Running Qt gui application on BBB

So just thinking for a minute. A Raspberry PI 2, the new board with quad cores, and 1 GB ram would probably work fairly decent as a build system for the Beaglebones. Granted, something like the X15, of that new nVidia ARM board, or even the Omelex A20 board with SATA would probably be a much better choice if cost is not a problem.

By the way, I have no idea what Robert is talking about. You need to ask him.

I understand. Well, I did have some little experience with crosscompiling std projects and wiritng in eclipse thanks to Derek Molloys tutorials. All my problems really started when I had to use Qt for beagle. And yes I cant say Im a pro at this stuff…

The idea with a separate board is good I think, I will definetly look for a strong and cheap one. i have never thought of doing it this way though, I always thought people use QEMU and etc.

Thank you for your advices, I really am gratefull for the time.

Okay, thank :P. I am quite sure raspberry pi is not hard float.

The new board is armv7. Positively.

https://www.adafruit.com/product/2358

I think there is a good reason to get one then. If it only had on board memory it would be nearly as cool as beagle.

Anyway, the main problem with the rPI 2 is that it has no “fast” non destructive storage. But the Omilex . . let me look it up.

https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2-4GB/open-source-hardware Has SATA and GbE both. Dual cores too I think. However, you’d have to ask someone who has one how well they think it would work as a build board. RObert might know, as his Debian build guide also includes this board too I believe.

Yes this board would be something more I would use. I had some experience with it and I think I could get one of my university. Thanks.

Robert, If you could please explain me how can I get Qt 5.3.2 on lxqt target you linked I would be really gratefull. I only knew how to install 4.8.2, but that one does not support QSerialport and my code is not not compatible. For now I just wanted to compile my application to show that it works. I would really apreciate your further help.

My guess is you would apt-get install the QT components/libraries you need.

Regards,
John

For purely building armhf code, Odroid XU4 might be a good choice:

http://www.hardkernel.com/main/main.php

This is an Octacore processor with 4 CortexA15 and 4 CortexA7 processors. I don’t know how good their kernel/debian support is, but I know Robert had looked at this board or a predecessor in the past, so perhaps he can give his input here.

Clearly this board doesn’t have the flexibility of the BeagleBoard-x15 with it’s dual DSP, Dual CortexM4, Quad PRU, SATA interface, PCIe interface, etc.

Regards,
John

Ita the 1st one i see with active cooling. Its not as flexible as beagle x15 but is it important if you only want to build code on it?

As for the package, i have downloaded qt 5.3.2 but wasnt able to run the code yey because of some qt version incompabilities. But that something i can fix soon, i just wasnt able now i had go to sleep. The question is why did i need this lxqt image specifically if i had to install anyway?

Hello there,
I managed to set up qt 5.3.2 on the beaglebone. I have build everything there and it took ages but it works :).

Next step is that I need to check either it is possible to run qt app on bbb without gui with qws parameter. Because at the moment when i run it with qws i get QXcbconnection: Could not connect to display. I need to do it like this because thw gui is really really slow.

i haven’t done this in ages, but try to run your QT app with the "-platform eglfs” option. I’m assuming you built QT with EGL.

Regards,
John

I am not sure, coz i wasnt building it- i fownloaded it from paxjage manager.

Try it this thus way:

DISPLAY=:0 myapp -qws

I tried the first hint:

root@beaglebone:/home/debian/ImpedanceManager-build# ./ImpedanceManager -qws -platform eglfs
libEGL warning: DRI3: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
Could not initialize egl display
Aborted

Theb second:

root@beaglebone:/home/debian/ImpedanceManager-build# DISPLAY=:0 ./ImpedanceManager -qws
No protocol specified
QXcbConnection: Could not connect to display :0
Aborted

Is there something more I should specify?

Have you finally solved this problem? If so, could you please give some advice how to fix this problem?
I am stuck in the same place right now. Trying to run an example after cross compiling qt for BBB.

Hi there,
I was not able to solve this. Because of lack of time, I decided to install qt 5+ on the bbb usong apt manager and build serialport (i needed ot and it was not included) on the bbb itself. For now i am stuck with building on bbb without crosscompiling as i wasnt able to set it for qt 5+ as well.

If you would find a solution to this i would be gratefull if you let me know. I still need the qt on bbb in own frame buffer version.

I am not sure about this but I think I read somewhere that QT 5.3.x does not support the “qws” anymore. I run QT 5.3.1 with -platform linuxfb only and it works. I did compile with eglfs but have not been able to get that to work either.