Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-333

setExtraCMakeArguments("-DANDROID_NDK_ROOT=/path") is not effective

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • QtGP 1.2
    • QtGP: General
    • None
    • Android, Linux/Other display system

    Description

      Test

      Kotlin Test setting the NDK from extraCMakeArguments

      What

      Expected: finds NDK and that works

      Actual: Make Error at /home/ramipotinkara/Qt/6.8.2/android_armv7/lib/cmake/Qt6/qt.toolchain.cmake:59 (message):
      Cannot find the toolchain file
      '=/home/ramipotinkara/dev/tmp/Sdk/ndk/build/cmake/android.toolchain.cmake'.

      Env

      • Host Ubuntu 24.04
      • Qt 6.8.2 and Qt 6.9.0 Beta-3
      • Android Studio LadyBug Feat drop 2024.2.2 Patch 2
      • Emu Pixel 8 Android 14 emulator
      • JDK 17

       

      Attachments

        1. image-2025-03-14-12-50-24-172.png
          92 kB
          Rami Potinkara
        2. image-2025-03-14-12-52-03-708.png
          92 kB
          Rami Potinkara
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            nikunj Nikunj Arora
            rampe Rami Potinkara
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes