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

Incorrect CMAKE_TOOLCHAIN_FILE check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical 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)

      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

       

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes