View Full Version : [HELP] Display Mouse pointer/cursor ??

21st May 2007, 04:17
Hi all,

I'm porting my Qt4.2.2 application to my Embest Kit, it contain Linux OS.

In my application, I have a GUI allows use interface with, and I don't know how to display mouse pointer/cursor in my application.

I had mouse driver , and I also cross-compile my app to arm target board.

Pls help me to solve this problem.

Thanks in advance.

21st May 2007, 09:09
Just use:

virtual void mouseDoubleClickEvent ( QMouseEvent * event )
virtual void mouseMoveEvent ( QMouseEvent * event )
virtual void mousePressEvent ( QMouseEvent * event )
virtual void mouseReleaseEvent ( QMouseEvent * event )

And for the position: