Forums

OverviewV-Play 2 Support (Qt 5) › Minimum icons for iOS (and how to generate)

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9193

    Martin

    When I look into an example v-play project, I see a large list of icons in the ios folder.

    Do I really have to make one of each of these?   Is there a workable smaller set

    What do the x2 names mean?

    … and … how can you start with a single hi-res icon, and easily make the necessary variants?

    Thanks!

    #9196

    Martin

    An answer is here: http://makeappicon.com/ios7icon#

    It has a good description of what is required, and a web app to generate them.

    You have to give them an email to get the icons they generate, but it seemed worth it to me.

     

    Unfortunately, I get:

     

    The following build commands failed:

    CopyPNGFile Debug-iphoneos/Leap.app/Icon-72@2x.png /Users/mgregory/Documents/Leap/Leap/ios/Icon-72@2x.png

    CopyPNGFile Debug-iphoneos/Leap.app/Icon-Small-40.png /Users/mgregory/Documents/Leap/Leap/ios/Icon-Small-40.png

    CopyPNGFile Debug-iphoneos/Leap.app/Icon-Small-40@2x.png /Users/mgregory/Documents/Leap/Leap/ios/Icon-Small-40@2x.png

     

    IE the list these guys give doesn’t match what something seems to want.  I still haven’t worked out what is determining what is needed :(

     

     

    • This reply was modified 3 years, 1 month ago by  GreenAsJade.
    #9198

    Martin

    … for now, I have put the V-Play icons in place of those three missing ones, just to move on.

    #9199

    Martin

    AH – I discovered that I need the iOS 8 set, which is http://makeappicon.com/ios8icon#

     

    Also, for some reason, it appears I have to have the icons called Defxxx.png.  I wonder what they are?

     

    #9200

    Alex
    V-Play Team

    Hi Martin,

    Sorry for the late answer!

     

    First of all, do you have an ios block in your pro file like the following?

    ICON_DATA = ...
    QMAKE_BUNDLE_DATA += ICON_DATA

    If yes you can remove them from your project file in case you’re using the latest V-Play libraries.

     

    Regarding the icons:

    We also already used the web tool you were linking to, iOS 8 icons should be just finde. :) We added a bunch of default icons to our wizards but you can safely remove unused icons after you updated your project file like mentioned above. We usually also use a small Photoshop script which generated the correct icons for us, if you’re using Photoshop too we can gladly share the script of course.

     

    Regarding the Def*.png files:

    These files are used as initial splash image on iOS-only. By default they are called “Default.png” (you can google for it), we however renamed them to Def.png as Qt bundles its own set of default launch images too, which would then conflict with our own.

     

    Hope this answers your questions so far?

    Best,

    Alex

    #9201

    Martin

    Thanks for the reply.

     

    I don’t have the ICON_DATA line you mentioned.  My ios section looks like this:

     

    ios {
        QMAKE_INFO_PLIST = ios/Project-Info.plist
        OTHER_FILES += $$QMAKE_INFO_PLIST
        LIBS += -L$$PWD/ios
    }

     

    And yet … if I delete any of these:

    https://www.dropbox.com/s/1s701k4c183g73u/Screenshot%202015-06-07%2017.52.51.png?dl=0

    I get the error messages I mentioned above.   I can’t figure out what it is that is wanting them…

     

     

     

    #9203

    Alex
    V-Play Team

    Hi,

    The project file looks good to me. If you delete one of those files please also make sure that they are not referenced in the “ios/Project-Info.plist” file anymore. Otherwise you should just replace the V-Play generated ones with your own.

    Best,

    Alex

Viewing 7 posts - 1 through 7 (of 7 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support