Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.4
-
None
Description
Some Android permissions can be set to specific sdk version range, that is supported by Android, but Qt build system doesn't have an official way for setting that. Atm, it's possible to achieve that by:
set_property(TARGET target_name PROPERTY QT_ANDROID_PERMISSIONS
permission.string android:maxSdkVersion='integer'
)
To get:
<uses-permission android:name="string" android:maxSdkVersion='integer' />
However, if double quotes are used (that's the official quote type used), it not work because the permission string will be wrongly parsed.
That's one side, the other one is about QT_ANDROID_BUNDLED_JAR_DEPENDENCIES which atm doesn't have a way to get jar dependencies based on the sdk version, this although being a corner case, it can be useful when having different implementations or java classes based on the sdk version.