Qt5 with Sitara AMSDK 6.00 on AM335x, on EVM and EVM Starter Kit (EVM SK). Uses Linaro toolchain, SDK provided filesystem and SGX drivers. For OMAP5, refer to http://tigraphics.blogspot.in/2013/08/qt5-with-kms-omap5-jacinto6.html
2. Dependencies
Dependencies:
(1) Download the latest Sitara EZ-SDK from
• http://downloads.ti.com/sitara_linux/esd/AM335xSDK/latest/index
_FDS.html
• The Sitara SDK complete installer provides all 3 components
necessary for standalone Qt5 build –
– A recent Linaro toolchain,
– Root filesystem with dependencies for cross-compiling Qt5, and
– SGX drivers,
– Along with the boot images (MLO, uboot and uImage based on 3.2
kernel)
• Note: The toolchain is available at the below location in the AMSDK
– ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-
linux/usr/bin
3. Dependencies
(2) Qt 5.1.0 can be downloaded from Qt website
directly.
(3) Patches for Qt 5.1.0 are at
• https://github.com/prabindh/qt-
configs/tree/master/qt5_1.0_Aug13
4. Configure step
• cd QT_SRC/qtbase
• export QMAKESPEC=
• export PATH=/home/prabindh/ti-sdk-am335x-evm-06.00.00.00/linux-
devkit/sysroots/i686-arago-linux/usr/bin:~/work1/arm-qt5-5.1.0/qt-
everywhere-opensource-src-5.1.0/qtbase/bin:$PATH
– Modify as required
• ./configure -prefix /home1/prabu/qt5.1.0_install -release -make libs -
xplatform linux-arm-gnueabi-ti-g++ -opengl es2 -confirm-license -
opensource -icu -no-xcb -no-pch -make examples –verbose
– Modify install path as required
• This should result in all makefiles generated, with OpenGLES2.0 support
and eglfs, and should print the supported options
• Note that the AMSDK 6.00 does not provide libicu, and hence it is not
possible to build qtwebkit directly with this.
– However, if libicu is added to the image via Yocto, it can be accomplished.
5. Make
• After configure, perform a "make" command
to generate the Qt5 libraries and install to
target/required folders.
6. Running the examples
• Use the pre-built binaries provided as part of
AMSDK 6.00 to flash a SD card. Install Qt5.1.0
binaries to this card.
• After booting up, example applications can be
run, as below sample shows.
• Perform below on target, after booting:
– cd qt5.1.0_install/examples/quick/demos/clocks
– ../../bin/qmlscene clocks.qml