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

`qt_internal_generate_user_facing_tools_info` is not relocatable

XMLWordPrintable

    • 6a4df2ac2 (dev), d45687f49 (6.9), 48d03f734 (6.8)

      Looking at the implementation, it seems that the symlinks generated are not created as relative paths:

              qt_path_join(tool_target_path "${CMAKE_INSTALL_PREFIX}" "${INSTALL_BINDIR}" "${filename}")
              qt_path_join(tool_link_path "${INSTALL_PUBLICBINDIR}" "${linkname}${PROJECT_VERSION_MAJOR}")
              list(APPEND lines "${tool_target_path} ${tool_link_path}")
      

      This should be an easy fix by calling cmake_path(RELATIVE_PATH)

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

            lecris Cristian Le
            lecris Cristian Le
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes