[Interest] Qt Android: how to set __ANDROID_API__ ?

Nuno Santos nuno.santos at imaginando.pt
Tue Jan 25 12:57:34 CET 2022


Hi,

I’m trying to call get_nprocs which is defined on #include <sys/sysinfo.h>

But it doesn’t get included because there is a macro making it available only when __ANDROID_API__ is >= 23

Qt Creator installs by default NDK 21.3.6528147.

Is this something defined at the NDK level? Or is this something we can set as a parameter somewhere, because I can’t find it… 

Thanks!

Nuno


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220125/3f77915c/attachment.htm>


More information about the Interest mailing list