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

Unknown CMake command "check_for_ulimit" with CMake 3.25.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.4.2
    • 6.4.1
    • WebEngine
    • None
    • Archlinux
    • Linux/X11
    • 517d0890f9e95c841bea3421f2455651ca0d8070

    Description

      With CMake 3.24.3 everything works fine but after an update to 3.25.0 I am no longer able to compile Qt. Looks like the Problem is in QtWebEngine even if I use `-skip qtwebengine`.

      Configure:

      qtbase/configure -top-level -release -optimize-size -force-debug-info -prefix /[...]/toolchain-test/dist -system-proxies -openssl-linked -I /[...]/toolchain-test/dist/include -L /[...]/toolchain-test/dist/lib -no-feature-calendarwidget -no-feature-colordialog -no-feature-dial -no-feature-fontcombobox -no-feature-fontdialog -no-feature-lcdnumber -no-feature-splashscreen -no-feature-syntaxhighlighter -no-feature-undoview -no-feature-mdiarea -no-journald -no-directfb -no-linuxfb -no-libproxy --linker=gold -no-qml-debug -opensource -confirm-license -nomake examples -nomake tests -no-mtdev -no-dbus -no-sql-sqlite -qt-zlib -qt-pcre -qt-harfbuzz -qt-libpng -qt-libjpeg -no-feature-hijricalendar -no-feature-islamiccivilcalendar -no-feature-jalalicalendar -no-feature-designer -no-feature-testlib_selfcover -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-sharedmemory -no-feature-textodfwriter -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-printsupport -no-feature-dtls -no-feature-dom -no-feature-sql -no-feature-xml -skip qtopcua -skip qtwebchannel -skip qtlanguageserver -skip qtspeech -skip qtwebengine -skip qtactiveqt -skip qtserialbus -skip qt5compat -skip qtsensors -skip qtserialport -skip qtvirtualkeyboard -skip qtcharts -skip qtdatavis3d -skip qt3d -skip qtwayland -skip qtremoteobjects -skip qtwebview -skip qtmultimedia -skip qtlottie -skip qtquick3d -skip qtquick3dphysics -skip qtnetworkauth -skip qtmqtt -skip qtcoap -skip qtquicktimeline -skip qtdoc -skip qtpositioning -- -DOPENSSL_ROOT_DIR=/[...]/toolchain-test/dist -DCMAKE_PREFIX_PATH=/[...]/toolchain-test/dist
      

      Error:

      CMake Warning (dev) at /[...]/toolchain-test/b/src/qt/qtbase/cmake/QtBuildInformation.cmake:257 (set):
        Cannot set "__qt_configure_reports": current scope has no parent.
      Call Stack (most recent call first):
        /[...]/toolchain-test/b/src/qt/qtsensors/src/sensors/configure.cmake:45 (qt_configure_add_report)
        /[...]/toolchain-test/b/src/qt/qtbase/cmake/QtProcessConfigureArgs.cmake:242 (include)
      This warning is for project developers.  Use -Wno-dev to suppress it.
      
      CMake Error at /[...]/toolchain-test/b/src/qt/qtwebengine/configure.cmake:63 (check_for_ulimit):
        Unknown CMake command "check_for_ulimit".
      Call Stack (most recent call first):
        /[...]/toolchain-test/b/src/qt/qtbase/cmake/QtProcessConfigureArgs.cmake:242 (include)
      

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            larss Lars Schmertmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes