This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: How to use "Sound"in QT in AM4378 SDK?

Part Number: AM4378

Hello,

I designed a board broadly based on AM437x-gp-evm. We use SDK 4.02. We develop QT application using sitara cross compiler.

How can i add  library for "sound" in QT in AM4378 SDK.

Regards,

Winiston.P

  • Hello Winiston.P,

    You can add this type of support in the way that is demonstrated in this and this thread.

    Best regards,
    Kemal

  • Hi Kemal,

    This method is to build the SDK from source of SDK. qt multimedia is mandatory to develop application related to multimedia. We have built the kernel using SDK4.02 with BSP and it works well in customer place. Now it is difficult to build the kernel from source and test all interfaces and then relaunch in the customer place.

    Is there any SDK for AM4378 available with qt multimedia ? 

    (or)

    Is there any way to append qt multimedia package to the kernel that we built?

    Regards,

    Winiston.P


  • Arockia winiston said:
    Is there any SDK for AM4378 available with qt multimedia ? 

    As I know no.  You need to manually import this functionality to the SDK.


    Arockia winiston said:
    Is there any way to append qt multimedia package to the kernel that we built?

    Do you mean the SGX kernel modules? What error you get if yo do not have the qt multimedia package in the kernel?

  • Hi Kemal,

    Yes, I want to append multimedia package in my SDK. Basically i want to use QT multimedia package when i develop QT application. The errors are given below and attached.

  • Dear Kemal,

    I am waiting for your response.

    Regards,

    Winiston.P

  • Run these commands to fix this issue.

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

    $ sudo dpkg-reconfigure dash
    # Select "No" when prompted.

    $ wget https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabihf/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
    $ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.02.00.09-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am437x-evm bitbake qtmultimedia

    cp -r <tisdk>/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtmultimedia/<version>/image/usr/ <Processor SDK>/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/

    Then transfer to your board and install the ipks from <tisdk>/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtmultimedia/<version>/deploy-ipks/armv7ahf-neon/ with opkg to be able to run the qtmultimedia application on your target.

  • Hello Winiston.P,

    Were you able to resolve this issue?

    Best regards,
    Kemal

  • Dear Kemal,

    I am working on that. I will let you know the status.

    Regards,
    Winiston.P