Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. IOS AppIcon in 5.2 Beta 1?
Forum Updated to NodeBB v4.3 + New Features

IOS AppIcon in 5.2 Beta 1?

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 4 Posters 4.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.
  • S Offline
    S Offline
    syfy323
    wrote on last edited by
    #1

    Hello,

    how do I embed the Apple App Store Icons? I tried many ways including the keys in Info.plist but my apps still have the dev-standard icon.

    I have valid images. Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      syfy323
      wrote on last edited by
      #2

      It's this problem:
      https://bugreports.qt-project.org/browse/QTBUG-34624

      1 Reply Last reply
      0
      • GianlucaG Offline
        GianlucaG Offline
        Gianluca
        wrote on last edited by
        #3

        I didn't do anything special for adding the app icon and splash screen as required by Apple iOS application:
        Just add to the bundle the following files:
        Icon.png
        Icon-72.png
        Icon@2x.png
        Icon-72@2.png
        Default.png
        Default-72.png
        Default@2x.png
        Default-568h@2x.png

        That's it !!
        You don't need to do any changes to the Info.plist created by qmake

        1 Reply Last reply
        0
        • clogwogC Offline
          clogwogC Offline
          clogwog
          wrote on last edited by
          #4

          when you say "add to the bundle" , what did you actually do ?
          did you add them to the .xcodeproj ? or to the .pro file ?

          and if you added them to the .xcodeproj file, won't those details get lost next time you do a qmake ?

          1 Reply Last reply
          0
          • GianlucaG Offline
            GianlucaG Offline
            Gianluca
            wrote on last edited by
            #5

            "Add to the bundle" means (for me concerning Qt) adding one or more lines like this in the .pro file:
            @
            BUNDLE_DATA.files = $$PWD/iOS_BundleData/Icon.png
            $$PWD/iOS_BundleData/Icon@2x.png
            $$PWD/iOS_BundleData/Icon-72.png
            $$PWD/iOS_BundleData/Icon-72@2x.png
            $$PWD/iOS_BundleData/Default.png
            $$PWD/iOS_BundleData/Default@2x.png
            $$PWD/iOS_BundleData/Default-568h@2x.png
            QMAKE_BUNDLE_DATA += BUNDLE_DATA
            @

            Of course, you should never change the generated .xcodeproj !!
            If you need a custom Info.plist, then you need to create one and add it to the .pro as well
            @
            QMAKE_INFO_PLIST = $$PWD/iOS_BundleData/Info.plist
            @

            1 Reply Last reply
            0
            • clogwogC Offline
              clogwogC Offline
              clogwog
              wrote on last edited by
              #6

              thank you.
              this works for me.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                syfy323
                wrote on last edited by
                #7

                Yeah, awesome!

                I made my icons with the mac app "DevBox" and placed this code in the pro file:

                @BUNDLE_DATA.files = $$PWD/iOS_BundleData/Icon-60.png
                $$PWD/iOS_BundleData/Icon-60@2x.png
                $$PWD/iOS_BundleData/Icon-72.png
                $$PWD/iOS_BundleData/Icon-72@2x.png
                $$PWD/iOS_BundleData/Icon-76.png
                $$PWD/iOS_BundleData/Icon-76@2x.png
                $$PWD/iOS_BundleData/Icon-Small-40.png
                $$PWD/iOS_BundleData/Icon-Small-40@2x.png
                $$PWD/iOS_BundleData/Icon-Small-50.png
                $$PWD/iOS_BundleData/Icon-Small-50@2x.png
                $$PWD/iOS_BundleData/Icon-Small.png
                $$PWD/iOS_BundleData/Icon-Small@2x.png
                $$PWD/iOS_BundleData/Icon.png
                $$PWD/iOS_BundleData/Icon@2x.png

                QMAKE_BUNDLE_DATA += BUNDLE_DATA@

                Thanks!

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Safeer Chonengal
                  wrote on last edited by
                  #8

                  @syfy323 said:

                  BUNDLE_DATA.files = $PWD/iOS_BundleData/Icon-60.png
                  $PWD/iOS_BundleData/Icon-60@2x.png
                  $PWD/iOS_BundleData/Icon-72.png
                  $PWD/iOS_BundleData/Icon-72@2x.png
                  $PWD/iOS_BundleData/Icon-76.png
                  $PWD/iOS_BundleData/Icon-76@2x.png
                  $PWD/iOS_BundleData/Icon-Small-40.png
                  $PWD/iOS_BundleData/Icon-Small-40@2x.png
                  $PWD/iOS_BundleData/Icon-Small-50.png
                  $PWD/iOS_BundleData/Icon-Small-50@2x.png
                  $PWD/iOS_BundleData/Icon-Small.png
                  $PWD/iOS_BundleData/Icon-Small@2x.png
                  $PWD/iOS_BundleData/Icon.png
                  $PWD/iOS_BundleData/Icon@2x.png

                  QMAKE_BUNDLE_DATA += BUNDLE_DATA

                  I am little confussed with above thing with following documentation
                  http://doc.qt.io/qt-5/appicon.html#setting-the-application-icon-on-mac-os-x

                  Which one works for setting Icon for iOS App?

                  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