Build Qt5 for BeagleBone Black
-
wrote on 6 Feb 2014, 14:05 last edited by
I compiled the OpenGLES and EGL libraries against the 3.8 kernel.
Currently, the "out-of-the-box" wheezy-image from Robert Nelson also includes the 3.8 kernel, so you can test them really quickly. LINK:https://rcn-ee.net/deb/rootfs/wheezy/debian-7.3-console-armhf-2014-01-24.tar.xz
My question: Do you like a debian package or tar.* archive?
(Have to say, I have no excperience with making a debian package...) -
wrote on 7 Feb 2014, 05:06 last edited by
thanks a lot , for your time ,
i don't really mind any right now :)
Since i'm trying to figure out how everything works ...
-
wrote on 10 Feb 2014, 09:35 last edited by
Hi jseeQt,
I think a tar archive can be enough.Thanks!
[quote author="jseeQt" date="1391695537"]I compiled the OpenGLES and EGL libraries against the 3.8 kernel.
Currently, the "out-of-the-box" wheezy-image from Robert Nelson also includes the 3.8 kernel, so you can test them really quickly. LINK:https://rcn-ee.net/deb/rootfs/wheezy/debian-7.3-console-armhf-2014-01-24.tar.xz
My question: Do you like a debian package or tar.* archive?
(Have to say, I have no excperience with making a debian package...)[/quote] -
wrote on 10 Feb 2014, 14:34 last edited by
jseeQt, why have you compiled a new kernel for you board ?
Is it impossible to use the kernel you already have in the BBB?Thanks
-
wrote on 11 Feb 2014, 10:33 last edited by
I did not compiled the kernel again.
But the SGX driver (which give us the GLESv2 and EGL libraries) have to be build against kernel sources...so I checked-out the (current) standard 3.8 kernel and compiled the SGX driver.
So: If you compilethe SGX driver against the 3.2 or 3.12 kernel, you cannot use them with a 3.8 kernel. -
wrote on 11 Feb 2014, 13:18 last edited by
Thanks jseeQt,
I have in my BBB the 3.8.13-bone30 Kernel (i'm using ubuntu-saucy-13.10-armhf-3.8.13-bone30.img.xz from armhf.com).
Can you please tell me where to find the 3.8.13-bone30 kernel source?Another question, in "this link":http://www.elinux.org/Beagleboard:BeagleBoneBlack#Known_Issues they tell:
@2) SGX support is not currently provided i the 3.8 kernel.@
why can you use it building with 3.8 kernel?Thanks
[quote author="jseeQt" date="1392114832"]I did not compiled the kernel again.
But the SGX driver (which give us the GLESv2 and EGL libraries) have to be build against kernel sources...so I checked-out the (current) standard 3.8 kernel and compiled the SGX driver.
So: If you compilethe SGX driver against the 3.2 or 3.12 kernel, you cannot use them with a 3.8 kernel.[/quote] -
wrote on 11 Feb 2014, 13:57 last edited by
Ok, I managed it to run with 3.2, I currently working to compile it for 3.8, but that's now wasted time...
I check it with the 3.2 kernel again...I will post updates here! -
wrote on 11 Feb 2014, 16:10 last edited by
Ok, thanks!
[quote author="jseeQt" date="1392127023"]Ok, I managed it to run with 3.2, I currently working to compile it for 3.8, but that's now wasted time...
I check it with the 3.2 kernel again...I will post updates here![/quote] -
wrote on 12 Feb 2014, 14:02 last edited by
[quote author="jseeQt" date="1392127023"]Ok, I managed it to run with 3.2, I currently working to compile it for 3.8, but that's now wasted time...
I check it with the 3.2 kernel again...I will post updates here![/quote]Hey thanks for your help , I'm having a bit of difficulty to figure out correct steps for compiling SGX right now.
but talking about kernel 3.8 it seems to me that it been fixed. Based on discussions from:
1 "Here":https://groups.google.com/forum/#!topic/beagleboard/qQTC7C8g0I8
2 and here "here":http://e2e.ti.com/support/arm/sitara_arm/f/791/p/298596/1087282.aspx#1087282and i assume that we need "this version (bone40.1) ":https://github.com/RobertCNelson/linux-dev/tree/am33x-v3.8 of kernel where patches have been applied
-
wrote on 19 Feb 2014, 08:57 last edited by
[quote author="XelaG" date="1392643385"]@Luca: Did you manage to compile Qt5 for beaglebone black running angstrom distribution ?[/quote]
Hi,
yes, I built Qt 5 for BBB but I didn't use angstrom, I used "this":http://www.armhf.com/index.php/boards/beaglebone-black/#saucy . -
wrote on 19 Feb 2014, 10:58 last edited by
[quote author="Luca" date="1392800239"]
Hi,
yes, I built Qt 5 for BBB but I didn't use angstrom, I used "this":http://www.armhf.com/index.php/boards/beaglebone-black/#saucy .
[/quote]Hello,
I've found this tutorial "Bare metal Qt5":http://armsdr.blogspot.fr/2014/01/bare-metal-qt-52-on-beaglebone-black.html.
I guess you didn't not compile Qt5 with OpenGL ES (SGX driver) support, cause it is not yet support by the kernel for am335x but it might be supported soon. am I right ?I do need OpenGL ES support cause I want to use QML in my app.
Coul you describe the steps you followed to (cross-)compile Qt5 with BBB ? -
wrote on 30 Aug 2014, 09:27 last edited by
Can anyone here confirm me that QtSerialPort works with the above configuration on beaglebone Black.
-
wrote on 13 Nov 2014, 10:30 last edited by
Hi Luca,
I have followed the steps are mentioned in this "tutorial":http://armsdr.blogspot.de/2014/01/bare-metal-qt-52-on-beaglebone-black.html
and was successful in installing qt5 in my ubuntu machine and then transferring it to BBB. I also installed qt creator version 3.0.0 which is based on Qt 5.2.0 GCC 4.6.1 64 bit.
The linaro toolchain is the latest one.Now, when I am adding the kit with compiler and debugger I have a problem. When I am selecting my version of qt5 which I just installed it is giving this error.
"No compiler can produce code for this Qt version. Please define one or more compilers."
Kind of stuck here can't find any useful information on internet. May be someone here can help. I will be really thankful.
Regards,
Naqqash -
Hi Luca,
I have followed the steps are mentioned in this "tutorial":http://armsdr.blogspot.de/2014/01/bare-metal-qt-52-on-beaglebone-black.html
and was successful in installing qt5 in my ubuntu machine and then transferring it to BBB. I also installed qt creator version 3.0.0 which is based on Qt 5.2.0 GCC 4.6.1 64 bit.
The linaro toolchain is the latest one.Now, when I am adding the kit with compiler and debugger I have a problem. When I am selecting my version of qt5 which I just installed it is giving this error.
"No compiler can produce code for this Qt version. Please define one or more compilers."
Kind of stuck here can't find any useful information on internet. May be someone here can help. I will be really thankful.
Regards,
Naqqash