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

Env variables not working with qt-cmake on macOS

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes