Upload
prabindh-sundareson
View
745
Download
1
Embed Size (px)
DESCRIPTION
Describes changes required for build of Qt5 Beta1 on TI ARM platforms
Citation preview
Qt5 Beta1 on TI platforms
AM335x / Sitara/ Beaglebone/ Beagleboard platforms with SGX
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/targetcontent/gfxsd...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/
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.
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.Scc1: fatal error: .pch/release-shared/QtGui: No such file or directorycompilation 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/MakefileRemove 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