Results 1 to 2 of 2

Thread: [Qt3 file permissions] is it possible to set a file to read only?

  1. #1
    Join Date
    Mar 2008
    Posts
    25
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default [Qt3 file permissions] is it possible to set a file to read only?

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [Qt3 file permissions] is it possible to set a file to read only?

    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.

Similar Threads

  1. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.