This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Qt 5.1.0 build for beaglebone

I am having difficulties compiling Qt 5.1.0 for beaglebone

Using this post as reference: http://tigraphics.blogspot.com/2013/01/qt-500-final-dec-2012-available-on-ti.html

following is the output log: http://pastebin.com/abFdYd4u

The configure command is:

./configure -prefix /home/devkit/qt5.1/opt/qt5.1 -release -make libs -device beaglebone -opengl es2 -confirm-license -opensource -icu -no-xcb -make examples -verbose

Created a directory under mkspec/devices/linux-beaglebone-g++

my qmake.conf is as follows: http://pastebin.com/1RjCS0ZD

What do I need to fix this error

Is there a latest instruction set to build the Qt 5.1.0 for beaglebone/bbb?

-Thanks

  • QT is a 3rd party product and not actively supported by TI. My suggestion is to post your question to the BeagleBoard forums. There are a few people there that are using QT on the BeagleBone..

    http://beagleboard.org/Community/Forums

    Gerald

     

  • Just a minor correct. For AM335x we do support Qt 4 to the point to enable customers to build Qt for the AM335x platform. Our Linux SDK out of the box includes Qt with SGX support. However, we do not currently support Qt 5 and there are people in the Beagle community who are currently working on using Qt 5. I would suggest using the link gcoley1 mentioned to seek help for now.

  • You have not set the QMAKESPEC correctly.  Unset it via "export QMAKESPEC=" and try again.

    As you would have read in the post, Qt5 has been well supported with Graphics SDK on 335x and other related platforms like 3730. If there is a working display driver it will work just like any other SGX based board.

  • Tried once again on a fresh new Qt5 set-up

    Following is the output : http://pastebin.com/n2W2Suqq

    I did unset the QMAKESPEC and tried the whole process again.

    Here are my detailed steps:

    -I am using the rootfs from : https://gforge.ti.com/gf/download/docmanfileversion/301/6353/Browser-21-Dec.tar.gz

    -The toolchain is: gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux

    -Downloaded a qt-everywhere-opensource-src-5.1.0 package.

    -Applied patches for the following as per the instruction on: http://tigraphics.blogspot.com/2013/01/qt-500-final-dec-2012-available-on-ti.html

    1) qttestbrowser.cpp

    2) qeglfswindow.cpp

    3) qtslib.cpp

    - Copied the linux-arm-gnueabi-ti-g++ folder from the qt-configs / qt5_1.0_Dec12 folder to my qtbase/mkspec/devices folder.

    - Applied following changes to the qmake.conf

    include(../../common/linux.conf)
    include(../../common/gcc-base-unix.conf)
    include(../../common/g++-unix.conf)

    ROOTFS_PATH=/home/devkit/qt5.1/rootfs
    TOOLCHAIN_PREFIX=/home/devkit/qt5.1/opt/gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi

    - Applied following changes to the qplatformsdef.h

    #include "../../linux-g++/qplatformdefs.h"

    - Exported the QMAKESPEC value:

    $ QMAKESPEC=/home/devkit/qt5.1/source/qt-everywhere-opensource-src-5.1.0/qtbase/mkspecs/devices/linux-arm-gnueabi-ti-g++

    $ export QMAKESPEC

    - Applied configure command in the qtbase directory

    ./configure -prefix /home/devkit/qt5.1/qt5_install -release -make libs -device arm-gnueabi-ti -opengl es2 -confirm-license -opensource -icu -no-xcb -make examples -verbose 1>>configlog.log 2>>configlog.log


    Following is the output : http://pastebin.com/n2W2Suqq

    As for my build machine: here is the output of the uname -a

    Linux linux-black 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686 i686 i386 GNU/Linux

    Let me know what else I could do to have a successful Qt5.1 installation





  • I missed a couple of key differences in your work.

    - You are using mkspec from devices and configuring as a device, and that has not been tried at my end.  Can you use the standard config folder under mkspec folder itself ?

    - The Dec12 configuration is for qt5.0. You can pick up the 5.1.0 configuration from below link. The configuration uses the Sitara AMSDK, but you can point it to any other  filesystem/toolchain to build.

    https://github.com/prabindh/qt-configs/tree/master/qt5_1.0_Aug13