Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4502

QNX toolchain files are incomplete and cause host includes to be found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      QNX
    • Sprint:
      2021wk34POeLinuxRTOS, 2021wk36POeLinuxRTOS, 2021wk38POeLinuxRTOS

      Description

      The QNX provisioning contains an archive with cmake toolchain files that are used in the CI when building Qt. https://codereview.qt-project.org/c/qt/qt5/+/324032/24/coin/provisioning/common/linux/qnx_710.sh#72

      These files are incomplete, in the sense that they do not restrict the lookup of host includes, libraries and packages.

      This cause qtbase integrations to pick up host Vulkan headers and broke the build https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1625054006
      and had to be circumvented here https://codereview.qt-project.org/c/qt/qtbase/+/357515/3/src/gui/configure.cmake#754

      The toolchain files should set the various CMake CMAKE_FIND_ROOT_PATH variables to restrict host lookups, similar to how it's done in the yocto-provided cmake toolchain files.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              feilz Dan Ackers
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes