You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, August 19th 2016, 10:54am

interrupt based application

Hello Everybody,

At Outset ,I would like to thanks all for be with this QTforum.

My problem is......... I am trying to develop an application.In this application there are certain pages and which is displaying on the LCD on my board.and my board has a gpio button by default the value of this button is high when i press this button value of this button become low after releasing again high.i want to make my app interrupt based when i pressed hold button for 3 second display should be rotate and if i just press and release button page should change.In my app i have interface my gpio button.

QString btnInput = "/sys/class/gpio/gpioN/value";


in my apps i can read the vale of value file when my app start after that if i press button nothing will happen.what should i do.
how can i generate interrupt after pressing button.

please help me i am new in qt i start qt just before 2 week.