Hai to all,
I am writing code to access the gpio from the Qt, and i was included the wiringPi library to Qt also..
Now my problem is when i write the setup function i.e wiringPiSetup() in mainwindow.cpp file and run, it is saying..
"Starting /home/pi/Desktop/Qtprojects/pi_lcd/....
wiringPiSetup: Must be root. (Did you forget sudo?)
/home/pi/Desktop/Qtprojects/pi_lcd/pi_lcd exited with code 1"
How to set the root permissions for the function or for wiringPi..
Please help me...
Thanks in advance..