hello, can anyone tell me how to cross compile of qt 4.8.5 for friendlyarm tiny 6410??i am newer in qt
hello, can anyone tell me how to cross compile of qt 4.8.5 for friendlyarm tiny 6410??i am newer in qt
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??
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
Bookmarks