Results 1 to 3 of 3

Thread: How to edit .plist file in mac

  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 edit .plist file in mac

    hi all

    working on Qt4.4.3 on my intel mac machine,

    How to edit existing .plist file created by the system or create my own .plist file using Qt.

    or is there any API available for this...
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Oct 2008
    Location
    Brazil, Sao Paulo - SP
    Posts
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to edit .plist file in mac

    You can do that by hand. But, as you may have noticed, some plist files are in binary format, so you'll have to use the command "plutil -convert xml1 <name of one binary plist file>" to peek at it. The XML plist file format is pretty much straighforward. Take a look at /Library/Preferences for a list of example plist files ;]

    Best Regards,
    Ângelo Suzuki
    Last edited by tinsuke; 15th December 2008 at 11:49. Reason: Wrong command

  3. #3
    Join Date
    Mar 2007
    Location
    Ukraine, Odessa
    Posts
    140
    Thanks
    15
    Thanked 11 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: How to edit .plist file in mac

    Also you can use QSettings to work with .plist files as it stores settings in XML plist file on the Mac
    C++ & AMD forever

Similar Threads

  1. Can you specify a file engine?
    By skimber in forum Qt Programming
    Replies: 2
    Last Post: 18th September 2008, 16:54
  2. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  3. Replies: 2
    Last Post: 8th November 2007, 21:15
  4. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 20:41
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16: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.