Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android NDK sysroot variable in QMake. How?
Forum Updated to NodeBB v4.3 + New Features

Android NDK sysroot variable in QMake. How?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 341 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bogong
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved