[Qt-interest] Saving To Resource Files

Karol Krizka kkrizka at gmail.com
Wed May 20 15:38:34 CEST 2009


On Wed, 2009-05-20 at 19:02 +0530, Raja Sekharan wrote:
> Hi,
> 
> 
> Suppose I add a resource "test.txt" to my executable. I wish to open
> ( ":/test.txt" ) the file and write something to it. Will this fail if
> the executable runs as a limited user in the case where the user will
> not be allowed to write in a system directory (where the executable is
> placed when it was installed).
> 
I don't believe that you can edit a resource file at all, even if you
have write permissions to it. The resource file is compiled into the
executable, so editing requires you to recompile the executable.

--
Cheers,
Karol Krizka
http://www.krizka.net





More information about the Qt-interest-old mailing list