Details
-
Technical task
-
Resolution: Done
-
P1: Critical
-
None
-
-
2021wk06, 2021wk08PO2, 2021wk18PO2, 2021wk20PO2
Description
Many modules that implement some Android feature rely on QtAndroid::androidSdkVersion() which is used to check the the Android api version to use a correct Java method/API for a given Android version. However, one alternative to that is using QOperatingSystemVersion
if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::AndroidOreo) // Do stuff
Attachments
Issue Links
- relates to
-
QTBUG-91072 Expose more extensive version information (SDK, deployment target)
- Reported
- mentioned in
-
Page Loading...