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....@qt-project.org 
[interest-bounces+alexander.blasche=digia....@qt-project.org] on behalf of 
Attila Csipa [q...@csipa.in.rs]
Sent: Thursday, February 13, 2014 23:47
To: interest@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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to