PDA

View Full Version : MouseClick Simulation for VNC Client / QScriptDebugger



sp3x
16th April 2016, 11:49
Hello everyone,

I want to simulate a mouse click and move to implement a little VNC server/client. There is no X-Server running on the server. The server runs on a raspberry pi via eglfs. The client on a windows/linux desktop.

If I use QTest::mouseClick or directly events, there is the problem that I do not know what widget is placed unter the cursor at clicking time.
If I specify the MainWindow as widget, so the child-pushbutton will not receive the event.

Is there a solution for this so I must not specify the child widget (push button)?

Maybe everyone has a solution to use QScriptDebugger over Network without the need of VNC or a GUI. I have a server and client. On serverside there is a qscript executing and i want to debug it on client side over the network without a complete rewrite of the QScriptDebugger.

Regards
Marcel