Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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