how do i configure a .pro file to generate make files with different permissions?
qmake seem to default to generating makefiles that end up installing binaries with 755 permissions.
I am creating an suid program and i want one of the executables to be installed with 4755 permission. Just this one executable out of two my projects creates.
What line should i add to .pro file to make this happen? I have looked in qt documentation pages and i did not find any mention of this ability
Re: how do i configure a .pro file to generate make files with different permissions?
If you are using QtCreator you can add custom build step(Projects pannel -> build window -> Add Build Step -> Custom Process Step) to do that.
Example:
Code:
Command: chmod
Working directory: %{buildDir}
Arguments: 4755 myapp