Results 1 to 2 of 2

Thread: Cross Compile Ubuntu 16.04 and BBB running Debian 8.8 w/ Touchscreen

  1. #1
    Join Date
    Jun 2017
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Cross Compile Ubuntu 16.04 and BBB running Debian 8.8 w/ Touchscreen

    Hello,
    I am new to Qt and the BeagleBone and have been trying to get Qt 5.9 to work on the BBB for a while now and keep running into issues (libraries not being found or cannot find platform plugins). I have been able to get Qt 4.8 to work with tslib, but have been trying to get an updated version.

    System Information:
    Windows 10 running a VM of Ubuntu 16.04.2 LTS
    BeagleBone Black running Debian 8.8 with a 4D cape 7” Touchscreen
    arm-linux-gnueabihf-gcc (Debian 4.9.2-10) 4.9.2

    I started following the tutorial here: https://wiki.qt.io/BeagleBone_Black_Beginners_Guide

    The link for step 4 (the cross compile tools) is dead so I have tried:
    https://github.com/plexydesk/cross-compile-tools.git
    and
    wget https://raw.githubusercontent.com/ri...lativelinks.py
    ./sysroot-relativelinks.py /mnt/bbb-rootfs
    (from https://wiki.qt.io/RaspberryPi2EGLFS )
    I’m not sure if either of these are even the correct tools needed anymore.

    I have tried the toolchains:
    gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf
    gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf

    After reading this post here I even tried:
    gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf
    sysroot-glibc-linaro-2.23-2016.11-arm-linux-gnueabihf

    I downloaded all of Qt 5.9 including sources using the online installer: qt-unified-linux-x64-3.0.0-online.run

    The configure I’m using is:
    ~/Qt/5.9/Src/qtbase/configure -release -shared -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -make libs -prefix /usr/local/Qt-5.9 -extprefix /mnt/bbb-rootfs/usr/local/Qt-5.9 -hostprefix /usr/local/Qt-5.9 -nomake examples -qt-zlib -qt-libpng -no-opengl -no-icu -v

    I have also tried with the flag -no-eglfs or getting rid of the -no-icu and either way I still get different types of errors at either build or run depending on which arguments I used in configure. The most recent error using the configure above gave me:
    stdin: is not a tty
    This application failed to start because it could not find or load the Qt platform plugin "eglfs"
    in "".
    Available platform plugins are: linuxfb, minimal, offscreen, vnc.
    Reinstalling the application may fix this problem.
    Process killed by signal

    What am I missing to be able to get Qt to work on the BBB w/ the touchscreen?
    I appreciate any help!

  2. #2
    Join Date
    Jul 2018
    Location
    Minneapolis, MN USA
    Posts
    7
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Cross Compile Ubuntu 16.04 and BBB running Debian 8.8 w/ Touchscreen

    Hi, did you ever get this working and if so how? I am in the same boat, I used the ti-dev kit and got a executable that runs on the bbb but cannot seem to figure out how to get rid of the pc mouse and make the touch functionality work. I've been looking into tslib but I think that it is needed to be declared in the QT build, which is another whole set if issues. Any help would be appreciated, thanks!

Similar Threads

  1. Replies: 1
    Last Post: 13th December 2014, 18:08
  2. sched_setscheduler() what priv needed on Ubuntu/Debian
    By RolandHughes in forum General Programming
    Replies: 0
    Last Post: 8th February 2013, 22:39
  3. (In-)official Debian/Ubuntu Qt 4.5 package?
    By BastiBense in forum Installation and Deployment
    Replies: 0
    Last Post: 11th March 2009, 11:47
  4. phonon does't work fine in debian/kubuntu/ubuntu
    By skhaz in forum Qt Programming
    Replies: 2
    Last Post: 9th February 2009, 14:01
  5. QT4 build debian/ubuntu package 4.2
    By patrik08 in forum Installation and Deployment
    Replies: 3
    Last Post: 21st September 2006, 09:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.