Results 1 to 2 of 2

Thread: qt- mouse-cursor problem

  1. #1

    Default qt- mouse-cursor problem

    Hi everyone,
    my mouse can work in my qt application(as (1)),but the cursor cannot move,it is always
    in the center of the screen.

    (1)i wrote a small program that there is a button in the window,if i move the mouse,
    the button can change it's position,and this can work.



    I used the following config when building
    -qt-mouse-pc
    QWS_MOUSE_PROTO="intelliMouse:/dev/mouse0"



    my english is so bad,i hope you can understand me,thanks.

  2. #2

    Default Re: qt- mouse-cursor problem

    I use QCursor::setPos();but this cannot work,can anybody help?

Similar Threads

  1. Capturing mouse cursor?
    By thru in forum Qt Programming
    Replies: 0
    Last Post: 2nd June 2010, 08:30
  2. how to use Qcursor to move the mouse cursor
    By jack_shen in forum Newbie
    Replies: 3
    Last Post: 22nd March 2010, 07:20
  3. Is there a way to get text from under the mouse cursor?
    By squirrel in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2009, 01:39
  4. Mouse Cursor Problem
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 1st October 2007, 18:16
  5. How to hide mouse cursor
    By kiransu123 in forum Qt Programming
    Replies: 1
    Last Post: 23rd March 2007, 17:52

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.