Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Regarding how to add app icon in iPad
I have added icon to my app in android , icon was app.png.
I tried adding to Xcode for iPad, i am getting the below errors.
Xcode/Users/UserName/Documents/build-AppName-iphoneos_clang_Qt_5_7_0_for_iOS-Release/AppName/Images.xcassets: The app icon set named "AppIcon" did not have any applicable content.
What is the issue and can we add icons for IOS in .pro file mentioning.?. apart from Xcode.
Where are your icons located ? What format are you using ?
I am using appicon.png and i have added the image in resource file.
These are OS specific assets. iOS (as well as Android) has no clue about the Qt Resource System. It won't search anything in there to show an application icon. It's the same for desktop applications.
Here in the iOS platform notes you have the description of what you need to do in order to provide the correct stuff for your application to be handled correctly by the OS.
Thanks for the answer and link.
I have added as per the document as below
ios_icon.files = $$files($$PWD/Images/Appname.png)
QMAKE_BUNDLE_DATA += ios_icon
But its not reflecting in info.plist, and do i need to mention anything in .pro file apart from the above mentioned lines in my .pro file.
But its not reflecting in info.plist,
Im 110% Apple noob, but i wonder if related to this
"Open the Xcode bulid file and go to build Settings>product bundle identifier . Now set any bundle id in the field . Now run the project , it will automatically create info.plist file and other set up like standard ."
Still not into .pro though :(
You have to create a custom info.plist file. For that you can simply build your application once, then copy the Info.plist file from the bundle to your sources and modify it.
It's all explained in the document I linked to.