Questions about Mac Deployment

  • Hi,
    I am trying to enhance the user experience of my Qt application in Mac, but I am having some issues with the Info.plist file.
    I have my own format extension called .tup and I want to associate it to my app, including an icon for this format when you browse the files using Finder.
    My goal is that if you double click any of the .tup files, it should be opened by my application. But it's not working.

    This is the current content of my Info.plist file:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">
            <string>TupiTube Desk</string>
            <string>TupiTube Desk</string>
                <string>TUP Animation</string>
            <string>Created by MaeFloresta</string>

    I can build the .dmg file, I can install my application, but the .tup files doesn't show my icon extension and I can not open them from the Finder if I double click them.

    Any suggestion? Thanks.

    Note: the tup.png icon is located at

  • Hi,

    The image must to be in icns format.

    You'll find a lot of tutorials about that on the web, like this one:

  • @mpergand Well, in fact I was looking for documentation and the PNG format is supported as you can see here:

    Nevertheless, I am using an icns file for the application icon and currently it works (you can see its reference in the Info.plist file). I tried to use the same file for the extension .tup but it didn't work neither.

  • Not sure, but it seems that CFBundleTypeIconFiles (with an s) is for IOS.

    An array of strings containing the names of the image files to use for the document icon in iOS. For more information about specifying document icons, see Document Icons.

    see Recommended Keys for Cocoa Apps here: (core foundation)

    I experienced such issues too. The trouble is that usely they are multi instances of the same app (debug/release) and the finder can be confused with.
    Try to delete the multiple copies of your app and restart the computer.

    Hope it helps.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.