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