Results 1 to 1 of 1

Thread: Can't get mouse to work.

  1. #1
    Join Date
    Nov 2009
    Posts
    68
    Qt products
    Qt4 Qt/Embedded
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Can't get mouse to work.

    I can't seem to get my mouse to work. I can see that the mouse is working in Linux by "cat /dev/input/mouse0 | hexdump ; this show the mouse data as I move it.

    But when I set:
    export QWS_MOUSE_PROTO='IntelliMouse:/dev/input/mouse0'
    and then run the program
    ./MyProgram -qws
    the cursor will not move when I move the mouse.

    I have substituted 'Microsoft' for IntelliMouse and /dev/input/event2 for /dev/input/mouse0 and it still fails.

    I used the following config when building:

    ./configure -prefix /opt/qt-arm -embedded arm -platform /qws/linux-x86-g++ -xplatform qws/linux-DM3730-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -little-endian

    Please Help!
    Last edited by weaver4; 3rd November 2010 at 22:14.

Similar Threads

  1. Replies: 3
    Last Post: 12th May 2010, 14:11
  2. Replies: 2
    Last Post: 13th December 2009, 21:27
  3. mouse pressevent doesnt work inside a QListWidget
    By john_god in forum Qt Programming
    Replies: 0
    Last Post: 25th February 2009, 03:32
  4. Mouse Tracking doesnt work from QCanvasView?
    By hgsw in forum Qt Programming
    Replies: 1
    Last Post: 4th January 2007, 02:59
  5. mouse moving don't produce mouse events
    By coralbird in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2006, 07:13

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.