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

iOS / Android / WebAssembly have invalid [DevicePaths] Prefix in target_qt.conf when installing Qt from online installer

    XMLWordPrintable

Details

    • acde9784cada212ac23efd7027dc7091a45f9abd (qt/qtbase/dev) cd0b711017330146110baee4bd80ac61a1bd55cf (qt/qtbase/6.2)

    Description

      Sample content:

      c:\Qt\6.2.0\wasm_32\bin>type target_qt.conf
      [DevicePaths]
      Prefix=/Users/qt/work/install/target
      [Paths]
      Prefix=../
      HostPrefix=../../mingw81_64
      HostData=../wasm_32
      Sysroot=
      SysrootifyPrefix=false
      TargetSpec=wasm-emscripten
      HostSpec=win32-g++
      Documentation=../../Docs/Qt-6.2.0
      Examples=../../Examples/Qt-6.2.0
      

      Note the DevicePaths Prefix is the Coin provided install prefix.
      The last time the code that generates that entry is at https://codereview.qt-project.org/c/qt/qtbase/+/318626/6/cmake/QtQmakeHelpers.cmake#133

      DevicePaths are paths as they appear on device.
      https://wiki.qt.io/Qmake_properties

      From some quick grepping, the only place where mkspecs uses those paths are for rpath resolution, and even then only when relative rpath resolution is disabled, which are not relevant for iOS/Android/WebAssembly, but is relevant for cross-compiled linux qt (e.g. yocto). It might be yocto is patching those already.

      https://github.com/qt/qtbase/blob/ad4faa25a524da8291525ca0afe2f2a65bf6b456/mkspecs/features/qt.prf#L273

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes