I'm developing an App that is supposed to run on
Windows, MacOSX, Android, and iOS.
I found out how to set the icon on Windows and Mac, but how does it work on Android and iOS?
Thanks for reading!
EDIT: I do not use Nessecitas SDK. There is no AndroidManifest.xml in my project folder. However, there is a folder in the same directory as my project-folder called "build-myProjectName-Android_f_r_armeabi_GCC_4_8_Qt_5_3_1-Release", which contains a folder "android-build", which contains a manifest.
This can be done using Microsoft Visual Studio: Select File >> New, and choose the Icon File. Note: You need not load the application into the Visual Studio IDE as you are using the icon editor only.
You could right click on the res directory and choose New > Image Asset. Or you can click on the Resource Manager tab, click the + icon, and select Image Asset.
Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Further follow the path to reach the desired folder to add icon (app → res → mipmap). Step 3 - Add you app icon. You can just simply copy and paste the image in mipmap folder.
Qt's iOS port allows you to run Qt applications on iOS devices, such as iPhones, iPads, and iPod Touches.
You should create an Android manifest file and edit it in Qt Creator.
Since Qt 5.4 along with QtCreator 3.3.0, you should go to Projects > Build Android APK > Details
Now Select Create Templates to create the manifest file and to open it in editor :
As shown in the picture, you can set three versions of icons for your application with low, medium, and high DPI values, from left to right.
In previous versions of Qt and Qt Creator you should go to Projects->Run->Deploy and select Create AndroidManifest.xml button.
in your android manifest there is a line
android:icon="@drawable/launcher_icon"
set your icon name here and thats it
while in iOS you can use image assets to easily drag and drop icons and splashscreens
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With