Build Qt5.5.1 for BBB

357 views
Skip to first unread message

sasak

unread,
Aug 1, 2016, 7:11:04 AM8/1/16
to BeagleBoard

Trying to cross-compile Qt for Beaglebone back with OpenGL support and SGX driver for Quick and I am trying for days.

I have created SD card (debian image with 4.4 kernel) Installed sgx driver and running
Installed (on target) libicu-dev libcups2-dev libudev-dev libmtdev-dev libegl1-mesa-dev libopenvg1-mesa-dev
Host: Ubuntu 16.04. - 64 bit
Created new device in qtbase/mkspecs/devices/linux-beaglebone-g++ and added in qmake.conf following

QMAKE_INCDIR_OPENGL   = /path_to_the/rootfs/usr/include/GL
QMAKE_LIBDIR_OPENGL   = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_POWERVR  = /path_to_the/rootfs/usr/include
QMAKE_INCDIR_OPENGL_ES1 = /path_to_the/rootfs/usr/include/GLES
QMAKE_LIBDIR_OPENGL_ES1 = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_OPENGL_ES1CL = /path_to_the/rootfs/usr/include/GLES
QMAKE_LIBDIR_OPENGL_ES1CL = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_OPENGL_ES2 = /path_to_the/rootfs/usr/include/GLES2
QMAKE_LIBDIR_OPENGL_ES2 = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_EGL      = /path_to_the/rootfs/usr/include/GL
QMAKE_LIBDIR_EGL      = /path_to_the/rootfs/usr/lib

Created new mkspecs linux-linaro-gnueabihf-g++ and added paths to linaro compiler
Configuration:

configure -v
-opensource
-confirm-license
-qt-xcb
-no-xinput2
-no-tslib
-nomake examples
-nomake tests
-sysroot /pathtothe/rootfs
-prefix /path_to_install/bbb-qt-5.5.1
-xplatform linux-linaro-gnueabihf-g++
-device linux-beaglebone-g++
-device-option CROSS_COMPILE=/pathtolinaro/bin/arm-linux-gnueabihf-
-skip qtwebkit
-skip qtwebkit-examples
-skip qtwebchannel
-skip qtwebengine
-skip qtwayland
-no-dbus

with output:

http://textuploader.com/5enyq


make -j4
terminated with this error


http://textuploader.com/5enyj

missing files are in place...
rootfs/usr/lib/arm-linux-gnueabihf/librt.so

How to solve this... anyone, please.

sasak

unread,
Aug 2, 2016, 4:58:16 AM8/2/16
to BeagleBoard
SOLVED

everything goes smoothly when rootfs is the filesystem from ti-processor-sdk-linux-am335x-evm-

I am writhing step by step manual and i will put link here.

sasak

unread,
Sep 4, 2016, 10:53:44 AM9/4/16
to BeagleBoard
It is not working.
it is not usable in roberts debian ubuntu console images (kernel 4.1 with sgx driver installed), even installed all nessery lib files.
right now (for simple quick2 program ) I am getting

error while loading shared libraries: libEGLSv2.so.1: cannot open shared object file: No such file or directory

try to link 
ln -s libEGLSv2.so libEGLSv2.so.1
but i am right now stuck with 

 error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

Could someone help me how to solve this please...

Is there builded binaries of Qt for roberts debian minimal images


This is driving me crazy!


Best regards

Sergey Alikin

unread,
Nov 23, 2016, 2:11:03 PM11/23/16
to BeagleBoard
sasak, hello.
I solved the same problem: Qt5.7 + QtQuick on Robern Nelson's ubuntu image.

понедельник, 1 августа 2016 г., 16:11:04 UTC+5 пользователь sasak написал:
Reply all
Reply to author
Forward
0 new messages