Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to Publish Qt5 Applications in the Mac App Store
Qt 6.11 is out! See what's new in the release blog

How to Publish Qt5 Applications in the Mac App Store

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gaojinhsu
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gaojinhsu
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gaojinhsu
          wrote on last edited by
          #4

          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]

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

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

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gaojinhsu
              wrote on last edited by
              #6

              "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]

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gaojinhsu
                wrote on last edited by
                #7

                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]

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  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

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved