Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 38989  / 3 Years ago, sun, july 25, 2021, 12:51:48

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?


More From » sudo

 Answers
1

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.


[#33310] Monday, July 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hentor

Total Points: 482
Total Questions: 104
Total Answers: 111

Location: South Korea
Member since Sun, Dec 25, 2022
1 Year ago
;