PDA

View Full Version : [Qt3 file permissions] is it possible to set a file to read only?



Boy
20th June 2008, 08:23
I've been searching around the web, this forum and asked collegaes, but it just doesn't seem possible: is it possible to change the permissions/attributes of a file. My goal is to just simply set the read only flag of a file to true after I created it.

marcel
20th June 2008, 18:43
You could choose a platform dependent solution and add implement it between ifdefs, for each needed platform... shouldn't be that much code to write.