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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.2
    • None
    • Integrity, QNX
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes