Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 17.0.0
-
None
-
-
Android
Description
- qt_add_android_permission() is not intended to remove or restrict permissions added by other Qt modules.
- When you manually remove the `<!-- %%INSERT_PERMISSIONS ->` placeholder from the AndroidManifest.xml file, the expectation is that Qt will not add any of its default module permissions.
- Only the permissions explicitly added via qt_add_android_permission() should appear in the final manifest. However, the observed behavior is that no permissions are being added, even those specified with the function call.
The suspected cause is a bug in the androiddeployqt tool. It seems to first create a combined list of permissions (evaluating whether to use the default or the user-defined permissive version) and then checks for the `` placeholder. Because the placeholder is missing, the tool ends up writing nothing from its pre-compiled list to the manifest.