[Qt-embedded-interest] qws Mousecalibration Example [solved]

Klaus.Fuerth at ELK.de Klaus.Fuerth at ELK.de
Wed Oct 14 15:36:33 CEST 2009


Hi!

David Boddie schrieb am 16.09.2009 14:22:
> Klaus.Fuerth at ELK.de wrote:
>
>   
>> I tried it, but I didn't get it running. I configured Qt with
>> "-qt-mouse-tslib" I get:
>>
>> The tslib functionally test failed!
>>  You might need to modify the include and library search paths by editing
>>  QMAKE_INCDIR and QMAKE_LIBDIR in
>>  /home/klaus/qt-embedded-linux-opensource-src-4.5.2/mkspecs/qws/linux-arm-g++
>> [...]
>>     
>
> [...] Then you need to the add paths to the library and headers when you configure
> Qt:
>
>   http://doc.trolltech.com/4.5/qt-embedded-pointer.html
>
> David
>   
Thank you very much, I get it working.
After compiling tslib for my target system I added two lines to 
<qt-scr-dir>/mkspecs/qws/linux-arm-g++/qmake.conf:
  QMAKE_INCDIR += <path to tslib-install>/include
  QMAKE_LIBDIR += <<path to tslib-install>/lib

and call 'configure' + 'make' in qt-src-directory.

I did the calibration with the tslib-calibration tool and use this data 
in Qt.


Klaus




More information about the Qt-embedded-interest mailing list