P
P
pixik2015-10-12 14:17:30
linux
pixik, 2015-10-12 14:17:30

How to run a program as root in the qt creator sandbox?

Good afternoon!
The program works with hardware, so root access is needed, but at the same time, if you open qt creator from sudo, then all files modified or generated by qt creator also turn out to be root. It is then inconvenient to work with them using git, and in general it seems to me that this is not correct. Surely there is some kind of flag in the launch settings, but I can not find which one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2015-10-12
@pixik

Give the user rights to the hardware.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question