[Interest] Get Android (or OS) version via Qt API?

Blasche Alexander Alexander.Blasche at digia.com
Fri Feb 14 09:12:03 CET 2014


Hi,

The SDK version is available via:

QtAndroid::androidSdkVersion()

see qtandroidextras/src/androidextras/android/qandroidfunctions.h

There might be a tiny bit more information hidden in private headers but they come along with the usual "use at your own risk we may change it" statement.



--

Alex

________________________________
From: interest-bounces+alexander.blasche=digia.com at qt-project.org [interest-bounces+alexander.blasche=digia.com at qt-project.org] on behalf of Attila Csipa [qt at csipa.in.rs]
Sent: Thursday, February 13, 2014 23:47
To: interest at qt-project.org
Subject: [Interest] Get Android (or OS) version via Qt API?

Hi,

Is there a way to get to Android versions/details (android.os.Build.*) via Qt APIs (like QSystemDeviceInfo in the old days), or does one have to go through native interfaces a la QAndroidJniObject?

Best regards,
Attila Csipa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140214/6d648808/attachment.html>


More information about the Interest mailing list