Results 1 to 2 of 2

Thread: How to change the attributes of a file

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default How to change the attributes of a file

    I want to change the attributes of a file through Qt.
    I want to change attributes such as file Type, file creater etc.

    Their is a utility in SetFile which is used in mac for the same purpose ,but i want to do that through programming.
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to change the attributes of a file

    As far as I know Qt has no support for file attributes. You need to look for a platform specific solution for this.

    I have no better idea where to start looking for that on a mac, than google, which revealed:

    http://en.wikipedia.org/wiki/Extende...es#cite_note-0

    http://developer.apple.com/mac/libra...etxattr.2.html

    Johannes

Similar Threads

  1. Updating File attributes and it's summary details
    By senthilsp in forum Qt Programming
    Replies: 1
    Last Post: 11th November 2009, 13:31
  2. XML Getting attributes of a specific value
    By di_zou in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2009, 12:04
  3. Replies: 0
    Last Post: 6th March 2009, 08:19
  4. Replies: 1
    Last Post: 23rd May 2008, 08:24
  5. Profile Attributes
    By joy in forum Newbie
    Replies: 1
    Last Post: 8th September 2006, 16:11

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.