-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.0.1
-
None
When I use the wizard to create an AndroidManifest.xml, and immediately add it to my source repository, I will get a huge diff, when touching the file with the Android Manifest editor.
By the Wizard:
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/app_name"> <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="@string/app_name" android:screenOrientation="unspecified">
After using the editor:
<application android:label="@string/app_name" android:name="org.qtproject.qt5.android.bindings.QtApplication"> <activity android:label="@string/app_name" android:screenOrientation="unspecified" android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtproject.qt5.android.bindings.QtActivity">
In order to minimize this, I would suggest doing the following:
- Let the editor write out the attributes inside a tag in alphabetical order
- Recreate the wizard template file from a fresh output of the editor
- is replaced by
-
QTCREATORBUG-10870 Android: Modifying AndroidManifest.xml with the manifest editor will randomize attributes
-
- Closed
-