Target is not working properly(video in Youtube)

  • I took a video on my target after i download the target.
    My video has been published at

    Below is my build process

    Building and setting up QT environment for IMX 6

    1. Set cross compile path

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

    arm-none-linux-gnueabi-gcc -v

    You will see “gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20)” at last line
    2. In your qt-everywhere-opensource-src-4.7.4
    Modify mkspecs/qws/linux-arm-g++/qmake.conf
    QMAKE_CC = arm-none-linux-gnueabi-gcc
    QMAKE_CXX = arm-none-linux-gnueabi-g++
    QMAKE_LINK = arm-none-linux-gnueabi-g++
    QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++
    QMAKE_AR = arm-none-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy
    QMAKE_STRIP = arm-none-linux-gnueabi-strip
    3. In your qt-everywhere-opensource-src-4.7.4

    ./configure -embedded arm -qt-zlib -qt-libpng -qt-gif -qt-libtiff -qt-libmng -qt-libjpeg -qt-freetype -no-openssl -static -prefix /media/jt_disk2/QT

    “/media/jt_disk2/QT” is my QT install path
    4. make
    5. make install
    Building your code to target board

    1. Set environment variable

    export QTDIR=/media/jt_disk2/QT/

    export PATH=$QTDIR/bin:$PATH


    qmake -version

    You will see QT version and QT in your install path
    2. In your code dir

    qmake -project



    1. Copy binary file to target board
    2. Copy ${QT install}/lib/fonts to target board's /usr/lib/
    3. export QT_QWS_FONTDIR=/usr/lib/fonts
    4. Run QT binary file

    ./Your_QT -qws

Log in to reply