Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85982 Android applications and examples build on Qt 6.0 with cmake
  3. QTBUG-87071

qt-cmake and qmake for Android have hardcoded values for cmake and host qmake

    XMLWordPrintable

Details

    • Android
    • 2020wk36, 2020wk38, 2020wk40, 2020wk42, 2020wk44

    Description

      qt-cmake and qmake scripts provided from a CMake build for Qt for Android, expect the host binaries to be at the hardcoded path. 

      qmake:

      /home/assam/Qt/6.0.0/android_arm64_v8a/bin/qmake: line 7: /home/qt/work/install/bin/qmake: No such file or directory
      

      cmake (with only CMake from Qt installed):

      export CMAKE_PREFIX_PATH=~/Qt/Tools/CMake/bin/cmake
      /home/assam/Qt/6.0.0/android_arm64_v8a/bin/qt-cmake: line 17: exec: cmake: not found
      

      One workaround Is to add the correct to the PATH, but this is a dirty way.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-87071
          # Subject Branch Project Status CR V

          Activity

            People

              aksalova Akseli Salovaara
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes