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

cmake error on macOS during configure for iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.6.0 FF
    • Build System: CMake
    • None

    Description

      Trying to update my usual shadow build after getting the latest qtbase (816ca43b88893e06ea866c3edadd0ca26f64b533) and latest in other modules:

      $ ../qt6/configure -debug -no-optimize-debug -prefix $PWD/qtbase -xplatform macx-ios-clang -qt-host-path /Users/rutledge/dev/qt6-dbg/qtbase -nomake examples -nomake tests -submodules qtbase,qtdeclarative,qtlocation,qtpositioning,qtshadertools
      + mkdir -p qtbase
      + cd qtbase
      + exec /Users/rutledge/dev/qt6/qtbase/configure -top-level -debug -no-optimize-debug -prefix /Users/rutledge/dev/qt6-dbg/qtbase -xplatform macx-ios-clang -qt-host-path /Users/rutledge/dev/qt6-dbg/qtbase -nomake examples -nomake tests -submodules qtbase,qtdeclarative,qtlocation,qtpositioning,qtshadertools
      '/usr/local/Cellar/cmake/3.24.2/bin/cmake' '-DQT_HOST_PATH=/Users/rutledge/dev/qt6-dbg/qtbase' '-DQT_BUILD_SUBMODULES=qtbase;qtdeclarative;qtlocation;qtpositioning;qtshadertools' '-DCMAKE_INSTALL_PREFIX=/Users/rutledge/dev/qt6-dbg/qtbase' '-DQT_QMAKE_TARGET_MKSPEC=macx-ios-clang' '-DCMAKE_C_COMPILER=clang' '-DCMAKE_CXX_COMPILER=clang++' '-DCMAKE_SYSTEM_NAME=iOS' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Debug' '-DINPUT_optimize_debug=no' '-G' 'Ninja' '/Users/rutledge/dev/qt6'
      -- Using internal CMake iOS toolchain file.
      -- simulator_and_device set to: "ON".
      -- The CXX compiler identification is AppleClang 14.0.0.14000029
      -- The C compiler identification is AppleClang 14.0.0.14000029
      -- The ASM compiler identification is Clang with GNU-like command-line
      -- Found assembler: /usr/local/bin/clang
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/local/bin/clang - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Checking dependencies of submodule 'qtbase'
      -- Checking dependencies of submodule 'qtimageformats'
      -- Checking dependencies of submodule 'qtlanguageserver'
      -- Checking dependencies of submodule 'qtshadertools'
      -- Checking dependencies of submodule 'qtsvg'
      -- Checking dependencies of submodule 'qtdeclarative'
      -- Checking dependencies of submodule 'qtserialport'
      -- Checking dependencies of submodule 'qtpositioning'
      -- Checking dependencies of submodule 'qtlocation'
      -- Configuring submodule 'qtbase'
      CMake Error at qtbase/cmake/QtPublicDependencyHelpers.cmake:216 (find_package):
        Could not find a package configuration file provided by "Qt6HostInfo" with
        any of the following names:
      
          Qt6HostInfoConfig.cmake
          qt6hostinfo-config.cmake
      
        Add the installation prefix of "Qt6HostInfo" to CMAKE_PREFIX_PATH or set
        "Qt6HostInfo_DIR" to a directory containing one of the above files.  If
        "Qt6HostInfo" provides a separate development package or SDK, be sure it
        has been installed.
      Call Stack (most recent call first):
        qtbase/cmake/QtBuild.cmake:569 (_qt_internal_find_host_info_package)
        qtbase/cmake/QtSetup.cmake:321 (include)
        qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:240 (include)
        qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:407 (qt_build_internals_set_up_private_api)
        qtbase/CMakeLists.txt:112 (qt_build_repo_begin)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/Users/rutledge/dev/qt6-dbg/CMakeFiles/CMakeOutput.log".
      See also "/Users/rutledge/dev/qt6-dbg/CMakeFiles/CMakeError.log".
      CMake Error at /Users/rutledge/dev/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:994 (message):
        CMake exited with code 1.
      

      Attachments

        Activity

          People

            qtbuildsystem Qt Build System Team
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: