Your SlideShare is downloading. ×
Qt5 beta1 on ti platforms
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Qt5 beta1 on ti platforms

732
views

Published 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

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
732
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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