Important: Please read the Qt Code of Conduct -

[SOLVED] Running .app on Mac OSX - .app structure

  • Hi guys,

    I successfully created a package thanks to the community here that helped me.

    I'm now in the "testing" phase and used a clean MacOSX on Mavericks to test if can run without anything installed.
    Turn out it works 100% when I start the app from command line ./
    However when I double click or try to open the .app package, it says "You can't open the application [] because it may be damaged or incomplete"
    I figured this is probably because the package is not the way Apple wants it to be?

    Anyway I uploaded the package here (30Mo download):
    If anyone wants to take a look to help me find what's wrong (Reward: 5000 dogecoins! :)

    Here is my /Content/Info.plist
    @<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">
    <string>Created by Qt/QMake</string>
    <string>This file was generated by Qt/QMake.</string>

  • I've been reading "this":
    Under "The Structure of an OS X Application Bundle"

    Still can't find why my package is not valid.. still investigating

  • Now i'm getting
    "App can’t be opened because it is from an unidentified developer”
    Guess i'll have to identify myself? now to find how to do that :)

    my app works if I control click and choose "open" after the warning.
    I'll have to check how to disable that warning, don't want my client to be afraid of my app..

  • Lifetime Qt Champion


    IIRC you would need to sign your application for that, thus subscribe to Apple's OS X developer program

  • Enroll now - $99/years
    Now I recognize Apple :)

    May be worth it if I get on apple store though...will see later

Log in to reply