-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.2.2
-
None
-
-
2022wk40FOQtforAndroid, 2025wk26s2QtforAndroid, 2025wk28s2QtforAndroid, 2025wk34s2QtforAndroid, 2025wk40s2-3QtforAndroid
I am not sure if it is a proper place to report issues like this here, but it is probably something that theoretically can make QT a bit better.
Linking multimedia module to an app in CMake, for example, with
target_link_libraries(${PROJECT_NAME} PRIVATE Qt6::Multimedia)
results in the following permissions are automatically added on Android:
android.permission.CAMERA android.permission.RECORD_AUDIO
that can be necessary for applications that uses camera and records audio, but if an app uses multimedia module only for playing sounds with QAudioSink these permissions are redundant and the user can be surprised that his app requires them.
Why not to add a configuration option to exclude all the staff that requires there permissions from multimedia module? For example, something like:
configure --multimedia-no-camera --multimedia-no-record-audio
will built QT with a multimedia module that does not require permissions on Android.
- mentioned in
-
Page Loading...