summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseGlobalTargets.cmake
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-05-17 15:12:30 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-05-20 09:26:42 +0000
commitdf022972b0860400449e3a6dabab63ea4e4656ac (patch)
tree0d225e6d7fd54888491284f3a90b4374d3fcbd9c /cmake/QtBaseGlobalTargets.cmake
parent6fcc272ac9dcf1d6d65de1bdf3138722ba63a902 (diff)
Don't throw an exception on platforms with no permission API
Using the permission API without guards for Android cause exception on all other platforms, instead we can print a warning with the same message if QT_DEBUG is defined to also make it less confusing for other platforms. Also, return QPermission::Authorized by default for platforms with no implementation to this API. Change-Id: Ie01a6a7f8b6a066685d32c861a56e9ded2c06410 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'cmake/QtBaseGlobalTargets.cmake')
0 files changed, 0 insertions, 0 deletions