Finally : did someone succeeded to have a Qt GUI app ?

just a side question : I just need to have my Qt GUI app to be shown, without lxde: what do I need to do ?

I use xinit, it’s light enough.

But if someone can compile qt4.8 for us with the extension qws and the touchscreen, it would be awesome…

Micka,

Micka I did this,as qws is enabled in configure by default, but it didn’t seems to be taken in account

Well, did someone manage to make it work ?

It would be cool to share with us :slight_smile: .

hi ,
Am using debian , but unable to open qt gui on beagle board .
At first i used angstrom image, then it worked well, i would like to work with same angstrom toolschain with debian beagle board . help me ,thanks in advance

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

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