Results 1 to 17 of 17

Thread: touchscreen QTe

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    22
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: touchscreen QTe

    Thank you.

    When i build QTe3.3.5 with this configuration

    ./configure -shared -depths 4,16,24,32 -no-cups -no-ipv6 -embedded bfin -little-endian -thread -qt-mouse-tslib -L/usr/local/lib -L/usr/local/lib/ts -I/usr/local/include -qvfb -lts

    i have this error
    bfin/qkbdpc101_qws.o .obj/release-shared-mt-emb-bfin/qmousepc_qws.o .obj/release-shared-mt-emb-bfin/qmousetslib_qws.o .obj/release-shared-mt-emb-bfin/qconfig.o -L/usr/local/lib -L/usr/local/lib/ts -lts -lts -ldl -lpthread
    /home/dam/blackfin-sources/build/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/../../../../bfin-linux-uclibc/bin/ld: escamotage incompatible /usr/local/lib/libts.so lors de la recherche de -lts
    /home/dam/blackfin-sources/build/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/../../../../bfin-linux-uclibc/bin/ld: can't find -lts
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [../lib/libqte-mt.so.3.3.5] Erreur 1

    I think the problem come from my TSlib I have just do this
    download tslib1.0
    autogen.sh
    ./configure
    make
    make install
    and build the qt with it

    But i have to configure it in FDPIC dynamic loadable shared library...
    I have try this
    1. Download tslib-1.0 from http://tslib.berlios.de or use the patched lib
    in the dist.

    2. Patch tslib with bfin_tslib_configure_ac.patch.

    3. Intialize the configuration files:
    # autogen.sh

    4. Patch tslib with bfin_tslib.patch

    5. configure:

    # ./configure --host=bfin-uclinux --disable-h2200-linear --disable-ucb1x00 --disable-corgi --disable-collie --disable-h3600 --disable-mk712 --disable-arctic2 --prefix=$TS_INSTALL CFLAGS='-mfdpic -DUSE_INPUT_API'

    make install

    but
    mfdpic isn't supported:
    make[2]: entrant dans le répertoire « /home/dam/blackfin-sources/tslib-1.0/src »
    /bin/bash ../libtool --tag=CC --mode=compile bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/lib/ts/\" -DTS_CONF=\"/etc/ts.conf\" -DTSLIB_INTERNAL -mfdpic -DUSE_INPUT_API -MT ts_attach.lo -MD -MP -MF .deps/ts_attach.Tpo -c -o ts_attach.lo ts_attach.c
    bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/lib/ts/\" -DTS_CONF=\"/etc/ts.conf\" -DTSLIB_INTERNAL -mfdpic -DUSE_INPUT_API -MT ts_attach.lo -MD -MP -MF .deps/ts_attach.Tpo -c ts_attach.c
    ts_attach.c:1: erreur: -mfdpic is not supported, please use a bfin-linux-uclibc target
    make[2]: *** [ts_attach.lo] Error 1

    how have you configured your tslib in shared

    thank you

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    9
    Thanked 18 Times in 15 Posts

    Default Re: touchscreen QTe

    Hi.
    My configure options are nearly the same, except I did not put any CFLAGS entry. By default the tslib produces a shared lib (.so). I am not sure your reason for this CFLAGS='-mfdpic -DUSE_INPUT_API'. If you leave out the CFLAGS option and configure, then make, is the tslib built? Can you find the .so file in the install directory?
    Also, notice my QT configuration options '-qt-mouse-linuxtp -qt-mouse-tslib -plugin-mouse-tslib'

  3. #3
    Join Date
    Sep 2008
    Posts
    22
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: touchscreen QTe

    ok my problem was that i have download a TSLib but i have to use the TSLib that i had in my uClinux distribution
    ./configure -shared -depths 4,16,24,32 -no-cups -no-ipv6 -embedded bfin -little-endian -thread -qt-mouse-tslib -L/home/dam/blackfin-sources/uClinux/staging/usr/lib -I/home/dam/blackfin-sources/uClinux/staging/usr/include -lts -qvfb

    that working well now

    thank you very mutch for your help

Similar Threads

  1. Problem with QT embedded and touchscreen calibration.
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 2nd July 2008, 11:33
  2. touchscreen not working in qtopia-4.2.2
    By apulu in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 18th June 2008, 11:00
  3. How to Launch Virtual Keyboard on top of TouchScreen
    By arunvv in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 21st June 2007, 18:31
  4. Qtopia4.2:Usage of both TouchScreen and Mouse
    By arunvv in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 21st June 2007, 18:18

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
  •  
Qt is a trademark of The Qt Company.