Porting QT 4.8.2 over Framebuffer on i.MX6 Sabrelite -blog archive

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting QT 4.8.2 over Framebuffer on i.MX6 Sabrelite -blog archive

1,638 Views
AlanZhang
Contributor V

Since some customers intend to use QT as their embedded platform for light embedded application scene, and QML is a preferable option to quickly customize UI like doing in HTML. Because QML is supported since QT 4.7 and later, so porting QT 4.8.2 (the latest so far) is necessary. The porting work is done on i.MX6 Sabrelite, and Linux 12.05.02 release.

1. Download qt-everywhere-opensource-src-4.8.2.tar.gz;

2. Add toolchain in PATH;

    export PATH=$PATH:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin

3. Enter into the untar qt directory, and execute configuration as following:

./configure --prefix=/home/alanz/i.mx6x_linux_bsp_3.0.15_12.05.02/ltib/rootfs/usr/local/Trolltech -no-rpath -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -release -no-cups -no-dbus -no-sql-mysql -no-sql-db2 -no-sql-ibase -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-tds -no-sql-sqlite2 -system-sqlite -no-sse -no-sse2 -no-sse3 -no-neon -no-mmx -no-3dnow -no-libmng -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-sm -no-xshape -no-xvideo -multimedia -depths 16,24,32 -qt-gfx-linuxfb -qt-kbd-tty -qt-mouse-tslib -little-endian -host-little-endian -fontconfig -no-sm -v -opensource -confirm-license

P.S.

1. You need to change your ltib rootfs in "--prefix" setting.

2. Attached qmake.conf for reference and take some modification as work directories.qmake.conf

3. Runtime environment settings (/etc/profile, and /etc/resolve.conf).profileresolv.conf

NOTE: I did not enable "-opengl es" in configuration because Viventa lib depends on external symbols that is not included in 12.05.02 release.

Tags (1)
0 Replies