AlanZhang

How to port QT Embedded 4.6.0/Framebuffer on i.MX53 LTIB 11.09 release -blog archive

Discussion created by AlanZhang Employee on Jun 15, 2012
Latest reply on Dec 14, 2012 by Neil Simpson

Step 1. Install i.MX53 11.09 release with AAC, MMCODEC, 1109 patches;

             NOTE: Only apply amd-gpu-bin for Framebuffer. DO NOT use amd-gpu-x11-bin that is for X11.

Step 2: Download qt-everywhere-opensource-src-4.6.0.tar.gz;

Step 2: ./ltib -m prep -p qt-everywhere-opensource-src

Step 3: Use the attached files to replace the original files respectively. One is "rpm/BUILD/qt-everywhere-opensource-src-4.6.0/mkspecs/qws/linux-g++-mx/qmake.conf"qmake.conf, the other is "dist/lfs-5.1/qt/qt-embedded.spec"qt-embedded.spec.

Step 4: ./ltib -m scbuild -p qt-embedded.spec

 

Then you get QT running. Note: You need to "scbuild", and "scdeploy" libxml2, sqlite2, libjpeg, freetype, libpng before the successful building QT. Add "export QT_QWS_FONTDIR=/usr/lib/fonts" in /etc/profile as global env setting. If you want to browse internet, set /etc/resolv.conf like mine as following:

# nameserver ip address
domain ap.freescale.net
search ap.freescale.net
nameserver 10.192.130.201
nameserver 10.211.0.131
nameserver 10.211.0.3

--------------------------------------------------------

Examples:

/usr/local/Trolltech/demos/embedded/fluidlauncher/fluidlauncher -qws

Outcomes