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.

SQLite Plugin for Qt5.4.1 AM335x Processor SDK



Hi,

I'm currently moving our device from ti-sdk-am335x-evm-08.00.00.00 to ti-processor-sdk-linux-am335x-evm-01.00.00.03 as part of this I need to port my application from Qt4.8 to Qt5.4. My issue is that in the previous SDK SQLite support was built directly into the file-system however this is not the case for the new processor SDK. Do you have a guide or example I can follow to build the SQLite plugin for Qt5.4?

Thanks

  • Hello Micheal,

    Check the attached qtbase_5.4.1-r0-arago6-tisdk0_cortexa8t2hf-vfp-neon.ipk.

    opkg install qtbase_5.4.1-r0-arago6-tisdk0_cortexa8t2hf-vfp-neon.ipk
    #install these too since the qtbase depends on them
    opkg install libcrypto1.0.0_1.0.1p-r0_cortexa8t2hf-vfp-neon.ipk
    opkg install libssl1.0.0_1.0.1p-r0_cortexa8t2hf-vfp-neon.ipk

    I have built it by appending PACKAGECONFIG_append = " sql-sqlite" in build/conf/local.conf file and it should contain the qt sqlite driver.

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-01.00.00.03-config.txt
    $ cd build
    $ echo 'PACKAGECONFIG_append = " sql-sqlite"' >> conf/local.conf
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH
    $ MACHINE=am335x-evm bitbake qtbase

    Check this guide to setup your OE build environment.
    http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK

    Check this page for transition from Qt4 to Qt5.
    https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5

    Check this section for .ipk package installation.
    http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK#Installing_Package

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/354/4137.qtbase_5F00_5.4.1_2D00_r0_2D00_arago6_2D00_tisdk0_5F00_cortexa8t2hf_2D00_vfp_2D00_neon.ipk, https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/354/5287.libcrypto1.0.0_5F00_1.0.1p_2D00_r0_5F00_cortexa8t2hf_2D00_vfp_2D00_neon.ipk,

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/354/2072.libssl1.0.0_5F00_1.0.1p_2D00_r0_5F00_cortexa8t2hf_2D00_vfp_2D00_neon.ipk

    Best regards,
    Kemal

  • Hi Kemal,

    Thanks for this, it worked great

    Micheal