QT installing and TSLIB problem

Tom
Hello!

I've read some topics about installing QT, and I've decided to install it
myself too. I've used installing manual from Paolo:
http://www.sereno-online.com/site/2010/05/01/qt-4-6-2-installation-proce...

It needed some changes but finally it started to compile but it stoped and
I received error:

[...]
/home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
Syntax error: word unexpected (expecting ")")
/home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
Syntax error: word unexpected (expecting ")")
/home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
Syntax error: word unexpected (expecting ")")
The tslib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in
 /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm
-g++.

And I have no idea what I should do now. I've tried to search for something
about tslib but don't know what to do with it.

thanks in advance
best regards
Tomasz

Tom
Hi!

I've cross compiled TSLIB and now I'm trying to cross compile QT with Paolo
manual. I've got one error:

/home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
Syntax error: word unexpected (expecting ")")
/home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
Syntax error: word unexpected (expecting ")")
The tslib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in
 /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm

-g++.

What should I do now? Maybe something is wrong with paths?

thanks in advance
best regards
Tomasz

Anatoly
May be it will help to anybody:

  I was try to correct QMAKE_INCDIR and QMAKE_LIBDIR variables but the
problem was not solved.
  That may be if Qt and tslib compiled with different options
-little-endian/-big-endian. I was work with mini6410 and made Qt configure
with -big-endian, compilation was successful, and test programs are working
on the board with preinstaled linux-qt4-opie.



Anatoly

Juergen Beisert
Do you use a special bootloader for big endian? The used Samsung S3C6410
CPU on the Mini6410 is mostly run in little endian mode.

antifish
For the tslib problem: (i dont know about big/little endian)
First, download & compile TSLib

$ mkdir /home/user/tslib
$ cd /home/user/tslib
$ git clone http://github.com/kergoth/tslib.git
$ cd tslib

(only if u use "older" kernel)
-> $ gedit plugins/input-raw.c 
   comment out or delete line 82 + 83
(/only old kernel)

$ ./autogen.sh
$ ./configure CC=arm-linux-gcc --host=arm-linux
--prefix=/home/user/tslib/_install --enable-static –-enable-shared
$make 
$make install

now it should compile ur tslib libs and bins. if you have error at
autogen.sh you ned to apt-get install autoconf libtool

now you can configure your QT addionatiol INCLUDE and LIB parameters, no
need to edit the other files:
$ cd yourQTdir
$ ./configure xxxxxxx L /home/user/tslib/_install/lib -I
/home/user/tslib/_install/include

amal89
hi,

I cross compiled the tslib and QT for my bord devkit8000 that include the
omap3530 processor but when i execute the qmake in the board it shows:

qmake: line1: syntax error word unexpected (expecting ")")

please help!!!

smith
The above link is not working... 
Use this---
http://qtinstall.blogspot.in/

naresh
Creating qmake. Please wait...
make: Nothing to be done for `first'.
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: Syntax error: word
unexpected (expecting ")")
The tslib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in

Ravikumar
Help to solve the below error,

The tslib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in

Thank you!!

Funjy
Add this to your qmake.conf file:

QMAKE_INCDIR     += /home/tslib/include/
QMAKE_LIBDIR  += /home/tslib/lib/

Where "/home/tslib" is path to cross-compiled tslib