Important: Please read the Qt Code of Conduct -

Android NDK sysroot variable in QMake. How?

  • Hello!
    Is there any variables in QMake that can provide me with NDK Sysroot or should I define it somehow manually?

  • Issue closed. Solution found.

    This lines of code in *pro file printing Android NDK root path if it is in your project settings settings:

    android {
    	message(Android NDK $$(ANDROID_NDK_ROOT))

    Project settings:

    Screenshot 2021-04-01 at 07.36.08.png

Log in to reply