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

Incorrect CMAKE_TOOLCHAIN_FILE check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.0 Beta2, 6.3.0 Alpha
    • 6.2.0 Alpha
    • WebEngine
    • None
    • Linux/X11
    • cc554531a06e45b76d08eff31ffbc2cd3c136f7d (qt/qtwebengine/dev) ef4cc58ae7ac5a8e296c55defd9bd676c7d0a0d6 (qt/qtwebengine/6.2)

    Description

      While preparing (or trying at least) qtwebengine 6.2 alpha, the build fails with :

      [ 106s] CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:129 (message):
      [ 106s] Could not find toolchain file:
      [ 106s] /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.2.0-alpha/build/qtbase/lib/cmake/Qt6/qt.toolchain.cmake
      [ 106s] Call Stack (most recent call first):
      [ 106s] CMakeLists.txt:14 (project)

      This raises two issues:

      • why would qt.toolchain.cmake need to be check for simple builds
      • this file is only certain to exist in this location if QT_SUPERBUILD is TRUE or QT_WILL_INSTALL is FALSE (set in QtBuildInternalsExtra.cmake) and INSTALL_LIBDIR wasn't customized

       

       

      Attachments

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              cgiboudeaux Christophe Marin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes