This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

QT Embedded mouse not working

Hello,

 We can't seem to get the mouse to work under QT.  We are using the C6-Integra evaluation board and the Linux SDK (ezsdk_5_02_01_59) 

 We are using open source Embedded QT 4.7.3.  We compile it using the following configuration settings:

./configure -prefix /usr/local/Trolltech/QtEmbedded-4.7.3-arm/lib -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-cs-arm-gnueabi-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-opengl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -static

 

Then install it on the board.  Our QT application will come up on the board, and we can see the mouse pointer, but it will not move.  This is also the case any of the demo applications that come with Embedded QT that we build.

We have the following QT environment variable set:

 QWS_MOUSE_PROTO =IntelliMouse:/dev/input/mouse0

 We can see that the mouse is working using the following command:

cat /dev/input/mouse0 | hexdump

 Any ideas of what we may not be configuring correctly or how to better diagnose the issue.  Also one other note, the Matrix demo application that comes as part of Linux SDK does work with the mouse.

 

Thanks,

Craig

  • Hi Craig,

    Craig Totel said:
    /configure -prefix /usr/local/Trolltech/QtEmbedded-4.7.3-arm/lib -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-cs-arm-gnueabi-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-opengl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -static
    <snip>
    Any ideas of what we may not be configuring correctly or how to better diagnose the issue.  Also one other note, the Matrix demo application that comes as part of Linux SDK does work with the mouse.

    Looking at the SDK build logs I see the configure flags as

    ./configure -v \
                -prefix /usr/ \
                -bindir /usr/bin \
                -libdir /usr/lib \
                -datadir /usr/share/qtopia \
                -sysconfdir /etc/qtopia \
                -docdir /usr/share/doc/qtopia \
                -headerdir /usr/include/qtopia \
                -plugindir /usr/lib/qtopia/plugins \
                -translationdir /usr/share/qtopia/translations \
                -examplesdir /usr/bin/qtopia/examples \
                -demosdir /usr/bin/qtopia/demos \
                -platform linux-gnueabi-oe-g++ \
                -xplatform linux-gnueabi-oe-g++ \
                -embedded arm -little-endian \
                -crossarch arm \
                -qtlibinfix E -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput -qt-kbd-tty -qt-kbd-linuxinput -DQT_KEYPAD_NAVIGATION -release -no-cups -no-accessibility -reduce-relocations -shared -no-nas-sound -no-sm -no-nis -qt-gif -system-libjpeg -system-libpng -system-zlib -no-pch -qdbus -stl -glib -phonon -webkit -no-rpath -qt3support -reduce-relocations -silent -no-sql-mysql -no-sql-psql -qt-mouse-linuxinput -no-gtkstyle -no-fast

    Hope this helps in your debug.

  • Hi Craig,

     

    I have the same problem.

    Have you found a fix forthis?

    Can you share it with me?

     

    BR,

    Pierre Assal