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

Android: qmake and qtpaths not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.4.0, 6.5.0 FF
    • 6.3.0, 6.3.1, 6.3.2, 6.4.0 RC1, 6.4.0
    • Packaging & Installer
    • None
    • Host: Linux x86_64 (Debian 11)
    • Android, Windows

    Description

      The shell scripts in QTDIR/bin/ that should forward qmake and qtpaths calls to the desktop binaries of the same Qt version contain absolute paths from the build/packaging system.

      Qt installation prefix is /home/stefan/qtcommercial

      Example from android_arm64_v8a/bin/qmake

      #!/bin/sh
      
      # The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
      script_dir_path=`dirname $0`
      script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`
      
      /home/qt/work/install/bin/qmake -qtconf "$script_dir_path/target_qt.conf" $*
      

      The last line should probably execute ../../gcc_64/bin/qmake

      Attachments

        Issue Links

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

          Activity

            People

              janihe Jani Heikkinen
              stefgehn Stefan Gehn
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes