QNetworkInformation: Move android dependencies and perms to plugin
It was a necessary workaround at the time, but this has since been fixed Task-number: QTBUG-90812 Change-Id: I8c0d5bf4c61d379736cd07a28c089c55d6befdee Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
a3f3af8a8f
commit
ec716dc1fd
@ -28,21 +28,16 @@ qt_internal_add_plugin(QAndroidNetworkInformationBackend
|
||||
QT_USE_QSTRINGBUILDER
|
||||
)
|
||||
|
||||
# @todo: androiddeployqt doesn't deploy JARs bundled with plugins, needs fix, temporarily bundle with Network
|
||||
# QTBUG-90812
|
||||
set_property(
|
||||
TARGET
|
||||
# QAndroidNetworkInformationBackend
|
||||
Network
|
||||
QAndroidNetworkInformationBackend
|
||||
APPEND PROPERTY QT_ANDROID_BUNDLED_JAR_DEPENDENCIES
|
||||
jar/Qt${QtBase_VERSION_MAJOR}AndroidNetworkInformationBackend.jar
|
||||
)
|
||||
|
||||
# @todo: same as above, but for permissions
|
||||
set_property(
|
||||
TARGET
|
||||
# QAndroidNetworkInformationBackend
|
||||
Network
|
||||
QAndroidNetworkInformationBackend
|
||||
APPEND PROPERTY QT_ANDROID_PERMISSIONS
|
||||
android.permission.ACCESS_NETWORK_STATE
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user