Qt5 beta1 on ti platforms
Upcoming SlideShare
Loading in...5

Like this? Share it with your network


Qt5 beta1 on ti platforms

Uploaded on

Describes changes required for build of Qt5 Beta1 on TI ARM platforms

Describes changes required for build of Qt5 Beta1 on TI ARM platforms

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 2

http://www.linkedin.com 1
https://www.linkedin.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Qt5 Beta1 on TI platforms AM335x / Sitara/ Beaglebone/Beagleboard platforms with SGX
  • 2. Set up• Pre-requisites for Qt5 build:• - Qt5 Beta1 source package http://releases.qt-project.org/qt5.0/beta1/• - TI Graphics SDK (4.05 or later) http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetco ... http://processors.wiki.ti.com/index.php/AM35x- OMAP35x_Graphics_SDK_Getti... - Recent filesystem (GCC 4.5 or later) - ARM cross Toolchain (GCC 4.5 or later), example from below: http://people.linaro.org/~michaelh/incoming/binaries/
  • 3. Changes• Note: All source changes are available in https://github.com/prabindh/qt-configs/tree/master/qt5_beta1• Changes made: Compared to Alpha, several changes are required in building Beta1.• - GLchar is undefined in current gl2.h header from Graphics SDK package. Hence an updated gl2.h header is needed. Refer to gl2.h.patch in source archive for this simple patch• - Configuration needs to be done using the same steps as in Alpha build. Patch for configure script is also provided in github archive above.• - After correct configuration, OpenGL (ES2), eglfs, linuxfb and NEON should be enable in the configurations listed. Now the package can be built.
  • 4. Changes made• - During compilation of neon.S files, compilation error occurs due to inclusion of PCH files that are not available• arm-linux-gnueabi-gcc -c -include .pch/release-shared/QtGui <... > -o .obj/release-shared/pixman-arm-neon- asm.o ../3rdparty/pixman/pixman-arm-neon-asm.S cc1: fatal error: .pch/release-shared/QtGui: No such file or directory compilation terminated. make[2]: *** [.obj/release-shared/pixman-arm-neon-asm.o] Error 1• To avoid this, reference to QtGui can be removed from the src/gui/Makefile itself as a temporary measure (changes will be overwritten on a rebuild), or configure needs to be done with "-no- pch" option.• Search for ".obj/release-shared/pixman-arm-neon-asm.o:" in src/gui/Makefile Remove this "-include .pch/release-shared/QtGui"• - Once successfully built, Qt5 Beta1 can be installed to target filesystem as described in http://www.gpupowered.org/node/14