Would it be possible to execute QtCreator as a nornal user but run and debug an application as root?
That would be useful i.e. while developing applications based on WiringPi, which facilitates the access to GPIO but requires root to effectively enable access to the hardware.
To be more clear in my intentions, I would like that when I hit Ctrl+R
in QtCretor, then it runs the app as root. And the same idea for debugging, when I hit F5
it starts debugging mode as root. All that while QtCreator is running by a normal user.