Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 5.0.3
-
None
Description
Getting Qt apps to work properly (e.g. for app store submission) is tricky, especially for new Qt users.
Here an extension of the Qt Creator project creation wizard is suggested which adds easy-to-select platform dependent properties during project creation.
Android
- Add Android templates (AndroidManifest.xml, build.gradle, ...).
- Define Android package name, e.g. "com.mydomain.myapp".
- Add ANDROID_VERSION_CODE and ANDROID_VERSION_NAME.
- Add Android icons (ideally a 512x512 png icon is used as input and all sizes are automatically created from this. See: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html).
iOS
- Select deployment target (QMAKE_IOS_DEPLOYMENT_TARGET, QMAKE_IPHONEOS_DEPLOYMENT_TARGET).
- Select bundle (package name), e.g. "com.mydomain.MyApp"
- Option for creating Info.plist.
- Add icon. Here an option for selecting an 1024x1024 png from which all icon sizes are automatically created would be useful (QMAKE_ASSET_CATALOGS_APP_ICON, QMAKE_ASSET_CATALOGS).
- Add IOS_VERSION_CODE and IOS_VERSION_NAME (see QTBUG-98329).
macOS
- Select a deployment target (e.g. "10.15").
- Select bundle (package name), e.g. "com.mydomain.MyApp"
- Option for creating Info.plist.
- Add icon. Here an option for selecting an 1024x1024 png from which all icon sizes are automatically created would be useful ("AppIcon.icns").
- Add MACOS_VERSION_CODE and MACOS_VERSION_NAME (see QTBUG-98329).
Windows
- Create "version.h" and "winicon.rc".
- Define strings used in "version.h/winicon.rc" (for instance companystring, app version, etc.).
- Select app *.ico file (even better would be an option for selecting a png which is automatically converted to an appropriate ico file).