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

Patch host path values for CMake Android

    XMLWordPrintable

Details

    • Android

    Description

      The installer patching for the CMake host path for Android was setting a wrong path for the host in qt.toolchain.cmake file. It is setting the value (according to my installation)

      set(__qt_initial_qt_host_path "/home/assam/Qt")
      

      that's the Qt install path, in fact, it should be 

      set(__qt_initial_qt_host_path "/home/assam/Qt/6.0.0/gcc_64")
      

      There is another instance in the same file

      set(__qt_initial_qt_host_path_cmake_dir "/home/assam/Qt/lib/cmake")
      

      Where it should be corrected to 

      set(__qt_initial_qt_host_path_cmake_dir "/home/assam/Qt/6.0.0/gcc_64/lib/cmake")
      

      So the main thing here is that the path should contain the Android version's host path, not the Qt root path.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes