Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Adding Touch capability to my Qt App
QtAm last edited by
I am new to Qt. I have developed a Qt GUI for my hardware. It is working fine for mouse events and keyboard.
Now the hardware is being made with touch capability.
Now, I want to add touch capability to my GUI. It consists mostly of QPushButtons and QListView.
Is it enough if I set the attribute setAttribute(Qt::WA_AcceptTouchEvents,true); to my widget ? or do I need to do it for all the buttons individually ? Please advice.