Use this guide
http://eewiki.net/display/linuxonarm/BeagleBone#BeagleBone-Debian7(smallflash)

I used this rootfs
https://rcn-ee.net/deb/rootfs/jessie/debian-jessie-console-armhf-2014-08-13.tar.xz

I used this kernel
https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-3.14.y

Setup NFS and TFTP boot, instead of copying to sd card as described in 
eewiki, copy to nfs and tftp directories.

Download and extract QT source
http://download.qt-project.org/archive/qt/5.3/5.3.2/single/qt-everywhere-opensource-src-5.3.2.tar.xz

Download helper scripts
https://gitorious.org/cross-compile-tools/cross-compile-tools/blobs/master/fixQualifiedLibraryPaths

Boot BBB (NFS+TFTP)
Install sgx as exaplained in eewiki and reboot - test chameleonman

sudo apt-get update && sudo apt-get upgrade
install all dev packages as required by QT

create mkspec and device files as explained here and also make sure you 
created a build directory for shadow building qt
http://armsdr.blogspot.co.uk/2014/01/bare-metal-qt-52-on-beaglebone-black_10.html

At this point everything should be updated and ready on the BBB.

On the build machine do the following:
run fixQualifiedLibraryPaths 
<https://gitorious.org/cross-compile-tools/cross-compile-tools/blobs/master/fixQualifiedLibraryPaths>

export the the following, making sure to adjust the paths for you own 
environment

export QMAKESPEC=
export 
PATH=/usr/local/linaro-4.8/bin:/home/rob/beaglebone/qt-5.3.2-host/qtbase/bin:$PATH
export 
PKG_CONFIG_PATH=/home/rob/beaglebone/rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
export 
PKG_CONFIG_LIBDIR=/home/rob/beaglebone/rootfs/usr/lib/pkgconfig:/home/rob/beaglebone/rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=/home/rob/beaglebone/rootfs
 
cd to your qt build dir ( in my case qt-5.3.2-host)

../qt-everywhere-opensource-src-5.3.2/configure -prefix /usr/local/qt5 
-release -device linux-beaglebone-g++ \
-make libs -device-option 
CROSS_COMPILE=/usr/local/linaro-4.8/bin/arm-linux-gnueabihf- \
-device-option DISTRO=jessie -sysroot /home/rob/beaglebone/rootfs 
-opensource \
-confirm-license -no-pch -no-xcb -no-gtkstyle -opengl es2 -eglfs -v -make 
examples -nomake tests

this should configure qt and be ready for build
make
sudo make install.

There are a few small problems :
1. On my Circuitco LCD4, the resistive touchscreen is a bit jittery.
2. EGLFS does not allow multiple windows so certain opengl and qtquick 
examples do not work (should be available in qt 5.4)
3. I have not been able to play back video since gstreamer0.10 does not 
have the ffmpeg package, although it is available in gstreamer1.0, qt is 
not able to use it.
4. I have not yet built webkit.

I hope this might help somebody because as a noob myself , I could not find 
clear instructions for this.

Regards
Rob



On Tuesday, 8 April 2014 16:26:34 UTC+1, dlewin555 wrote:
>
> Hi,
>
> Is there finally someone who succeeded to have a GUI compiled with Qt 
> (from Debian for example ) ?
>
> I've tested many things, and they either rely on Angstrom (which I'd like 
> to avoid) or don't work at all (Timesys included)
>
> So I'm looking for a successful try ...
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to