Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

It is possible to run my application with root priviliges using sudo, like this:

sudo ./MyApp

Is it possible to debug my Qt application using root priviliges using QtCreator? How can I do this on an Ubuntu system?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I solved it by starting Qt Creator as root.

sudo /usr/bin/qtcreator

Now It will get the root permission to the application when I compile and debug. Now its possible to debug my application with root privilege.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.