custom configuration file icon for Mac is not showing. i think it might be an plist issue

i am working application ABC where user can save configuration. Then later it can be open using same file. but when i am saving this configuration file. its not showing the icon.

the application is built using qt c++..

here is my plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleExecutable</key> <string>ABC</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>abc</string> <key>CFBundleTypeIconFile</key> <string>abc.icns</string> </dict> </array> <key>CFBundleIdentifier</key> <string>com.########.####</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>NOTE</key> <string>This file was generated by Qt/QMake.</string> <key>CFBundleIconFile</key> <string>ABC.icns</string> <key>IFPkgFlagRestartAction</key> <string>RecommendedRestart</string> <key>IFPkgFlagAuthorizationAction</key> <string>RootAuthorization</string> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>NSHighResolutionCapable</key> <string>True</string> </dict> </plist>

what is the possible cause?

i tried directly providing path of icon in plist. i tried CFBundleSignature from ???? to ABCC

Are you building your app with Xcode? Or editing this file by hand?

If it’s the latter, please post your Info.plist inside a code block so that we can read it. Quinn’s Top Ten DevForums Tips has info on how to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

No, I am building app using Qt C++ language. i am trying modify using xcode

custom configuration file icon for Mac is not showing. i think it might be an plist issue
 
 
Q