PDA

View Full Version : How to edit .plist file in mac



merry
15th December 2008, 08:25
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...

tinsuke
15th December 2008, 11:47
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

THRESHE
15th December 2008, 14:32
Also you can use QSettings to work with .plist files as it stores settings in XML plist file on the Mac :o