Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87633

Env variables not working with qt-cmake on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 6.0.0 RC
    • 6.0.0 Beta1
    • Build System: CMake
    • macOS

      Set ANDROID_NDK_HOME and ANDROID_SDK_ROOT to point correct dir, pass the ndk and sdk location with env variables:

       -DANDROID_SDK_ROOT:PATH=$ANDROID_SDK_ROOT

      -DCMAKE_TOOLCHAIN_FILE:PATH=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake

      qt-cmake will not find the sdk and ndk location, if full paths are given, then it works.

      Windows can handle env variables.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes