Control Mouse with Qt
Unsolved
General and Desktop
-
hi and welcome
You can use QTest moduleQTest::mouseMove ( myWidget, QPoint( 70, 100 ), -1 );
QWidget *btn = myWidget->childAt(70, 100);
if (btn) {
QTest::mouseClick ( btn, Qt::LeftButton, Qt::NoModifier, QPoint( 70, 100 ), 100);
}If you goal is an auto clicker of some sort then a tool like
Autoit3 will be much faster for such task.