I want to get TouchEvent of touchPad of Laptop in Qt program. but in the program below, I can't get the TouchEvent. For help, thank you.
bool MyDialog::event(QEvent *evt)
{
qDebug()<<evt->type();//can't get the touchEvent
…
}
I want to get TouchEvent of touchPad of Laptop in Qt program. but in the program below, I can't get the TouchEvent. For help, thank you.
bool MyDialog::event(QEvent *evt)
{
qDebug()<<evt->type();//can't get the touchEvent
…
}