Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to Publish Qt5 Applications in the Mac App Store



  • Hey, guys!
    I developed a OS X app which is Qt-based and published it to Mac app store as "here":http://blog.qt.digia.com/blog/2012/04/03/how-to-publish-qt-applications-in-the-mac-app-store-2/ told me, but I failed, for example, when I add QMAKE_INFO_PLIST = MyAppInfo.plist to .pro file, MyAppInfo.plist would not be generated.



  • when I executed " codesign -s "3rd Party Mac Developer Application: Developer Name" –entitlements MyEntitlements.plist MyApp.app", I was told
    bundle format unrecognized, invalid, or unsuitable


  • Lifetime Qt Champion

    Hi,

    Do you mean not copied ? QMAKE_INFO_PLIST is used to tell qmake that you provide your own plist for your application



  • when I added it to my .pro file, info.plist file would disappear, and I couldn't find any other .plist files, including MyAppInfo.plist;

    and here is another problem, I could succeed to sign frameworks and plug-ins , but when I tried to execute this, codesign -s "3rd Party Mac Developer Application: Developer Name" MyApp.app I was told I was told
    bundle format unrecognized, invalid, or unsuitable.

    [quote author="SGaist" date="1385594512"]Hi,

    Do you mean not copied ? QMAKE_INFO_PLIST is used to tell qmake that you provide your own plist for your application[/quote]


  • Lifetime Qt Champion

    But do you have created that MyAppInfo.plist in your sources ? Does it contain the necessary informations ?



  • "This":http://stackoverflow.com/questions/19637131/sign-a-framework-for-osx-10-9 solved my second problem, but a new error comes, when I tried to execute [ codesign -s “3rd Party Mac Developer Application: Developer Name MyApp], it said code object is not signed at all.

    [quote author="SGaist" date="1385594512"]Hi,

    Do you mean not copied ? QMAKE_INFO_PLIST is used to tell qmake that you provide your own plist for your application[/quote]



  • Should I create that .plist file manually by myself? what about QMAKE_INFO_PLIST ? I thought the file would be generated automatically.
    [quote author="SGaist" date="1385628865"]But do you have created that MyAppInfo.plist in your sources ? Does it contain the necessary informations ?[/quote]


  • Lifetime Qt Champion

    Yes and no, there's a default file generated for you if you don't set QMAKE_INFO_PLIST. If you want to use a customized plist (for e.g. adding drag and drop support over your application icon) you then create it and tell qmake through that variable that you wish to use your own plist


Log in to reply