I have a problem when I click run it shows this error
wiringPiSetup: Must be root (Did you forget sudo ?)
I also try to write this on terminal sudo qtcreator to open the qtcreator as sudo but also the problem still thesame with thesame error
actually , I'm using raspberry pi 2 with raspbian jessie operating system
can any one here solve it to me please