+ Reply to Thread
Results 1 to 3 of 3

Thread: cross compile of qt 4.8.5 for friendlyarm tiny 6410

  1. #1
    Join Date
    Oct 2015
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Symbian S60

    Default cross compile of qt 4.8.5 for friendlyarm tiny 6410

    hello, can anyone tell me how to cross compile of qt 4.8.5 for friendlyarm tiny 6410??i am newer in qt

  2. #2
    Join Date
    Oct 2015
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Symbian S60

    Default Re: cross compile of qt 4.8.5 for friendlyarm tiny 6410

    1. tslib compilation
    $cd /usr/local
    $git clone http://github.com/kergoth/tslib.git
    $export PATH=/usr/local/arm/4.3.2/bin:$PATH
    $export CROSS_COMPILE=arm-none-linux-gnueabi-
    $export CC=${CROSS_COMPILE}gcc
    $export CFLAGS=-march=armv4t
    $export CXX=${CROSS_COMPILE}"g++"
    $export AR=${CROSS_COMPILE}"ar"
    $export AS=${CROSS_COMPILE}"as"
    $export RANLIB=${CROSS_COMPILE}"ranlib"
    $export LD=${CROSS_COMPILE}"ld"
    $export STRIP=${CROSS_COMPILE}"strip"
    $export ac_cv_func_malloc_0_nonnull=yes
    $cd /usr/local/tslib
    $./autogen-clean.sh
    $./autogen.sh
    $./configure --host=arm-linux --prefix=/home/tslib --enable-shared=yes
    --enable-static=yes
    $make
    $make install




    i followed this steps for first tslib installation but when i checked file
    libts-1.0.so.0.0.0 in lib file then i got following output==>
    libts-1.0.so.0.0.0: ELF 32-bit LSB shared object, "Intel 80386", version 1
    (SYSV), dynamically linked,
    BuildID[sha1]=0xd113e8e6a6562ca3bd32f286ed9611919adc9a44, not stripped

    i want arm instead of that Intel 80386??

  3. #3
    Join Date
    Mar 2018
    Location
    Bengaluru
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: cross compile of qt 4.8.5 for friendlyarm tiny 6410

    Hello Sachinmm,


    If you are using the superboot6410.bin then there is no need of installing tslib , if you have superboot on Tiny6410 do these steps.


    Calibrate the Touchscreen device using the ts_calibrate binary by atleast 2 times.

    Then in /etc/init.d/rcS script file set the path of the touchscreen-1wire device as follows.

    export TSLIB_TSDEVICE=/dev/touchscreen-1wire

    Then place your application in this script file as for Example

    /bin/Calulator -qws

    After reboot your device.

    Then check the Touchscreen is working or not by giving Touch on the QT Application.





    Regards,


    Shubakara P S

+ Reply to Thread

Similar Threads

  1. Cross compile Qt5 (5.2.0-beta1) to sh4
    By legotron in forum Installation and Deployment
    Replies: 0
    Last Post: 1st November 2013, 14:06
  2. Cross compile
    By Ichi in forum Newbie
    Replies: 9
    Last Post: 3rd April 2013, 20:49
  3. Can't cross compile with dbus
    By nrabara in forum Installation and Deployment
    Replies: 3
    Last Post: 19th March 2012, 12:28
  4. Cant cross compile onto Windows CE 5
    By Willybood in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 26th October 2010, 23:38
  5. Cross-Compile to QT/X11 ARM
    By shiranraviv in forum Installation and Deployment
    Replies: 6
    Last Post: 18th December 2009, 11:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts