Hi, I’ve just installed Qt 6.8.1 from the online installer for Mac and now I need to do a custom build for iOS because of this bug:
https://bugreports.qt.io/browse/QTBUG-126736 I’ve already did a custom build from the source for Qt 6.8.0 and it worked without any problems: perl init-repository --module-subset=qt5compat,qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtshadertools,qtsvg ./configure -prefix /Users/nsantos/Qt/6.8.1/ios -platform macx-ios-clang -debug-and-release -qt-host-path /Users/nsantos/Qt/6.8.1/macos But it is failing with Qt 6.8.1. Seems to be complaining about Qt6::balsam and it says it makes part of QtQuick3DTools package but I’m not even asking to build QtQuick3D. Thanks in advance! Best regards, Nuno ➜ src git:(v6.8.1) ./configure -prefix /Users/nsantos/Qt/6.8.1/ios -platform macx-ios-clang -debug-and-release -qt-host-path /Users/nsantos/Qt/6.8.1/macos + /Users/nsantos/Qt/6.8.1/src/qtbase/configure -top-level -prefix /Users/nsantos/Qt/6.8.1/ios -platform macx-ios-clang -debug-and-release -qt-host-path /Users/nsantos/Qt/6.8.1/macos '/opt/homebrew/Cellar/cmake/3.25.1/bin/cmake' '-DQT_HOST_PATH=/Users/nsantos/Qt/6.8.1/macos' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DCMAKE_INSTALL_PREFIX=/Users/nsantos/Qt/6.8.1/ios' '-DQT_QMAKE_TARGET_MKSPEC=macx-ios-clang' '-DCMAKE_C_COMPILER=clang' '-DCMAKE_CXX_COMPILER=clang++' '-DCMAKE_CONFIGURATION_TYPES=Release;Debug' '-G' 'Ninja Multi-Config' '/Users/nsantos/Qt/6.8.1/src' -- Using internal CMake iOS toolchain file. -- simulator_and_device set to: "ON". -- The CXX compiler identification is AppleClang 15.0.0.15000100 -- The C compiler identification is AppleClang 15.0.0.15000100 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/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/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 'qt5compat' -- Checking dependencies of submodule 'qtquicktimeline' -- Checking dependencies of submodule 'qtquick3d' -- Checking dependencies of submodule 'qtmultimedia' -- Configuring submodule 'qtbase' -- [QtBase] Building for multiple configurations: Release;Debug. -- [QtBase] Main configuration is: Release. -- Configuring submodule 'qtimageformats' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtImageFormats] Building for multiple configurations: Release;Debug. -- [QtImageFormats] Main configuration is: Release. -- Configuring submodule 'qtlanguageserver' -- [QtLanguageServer] Building for multiple configurations: Release;Debug. -- [QtLanguageServer] Main configuration is: Release. -- Configuring submodule 'qtshadertools' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtShaderTools] Building for multiple configurations: Release;Debug. -- [QtShaderTools] Main configuration is: Release. -- Configuring submodule 'qtsvg' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtSvg] Building for multiple configurations: Release;Debug. -- [QtSvg] Main configuration is: Release. -- Configuring submodule 'qtdeclarative' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtDeclarative] Building for multiple configurations: Release;Debug. -- [QtDeclarative] Main configuration is: Release. -- Configuring submodule 'qt5compat' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [Qt5Compat] Building for multiple configurations: Release;Debug. -- [Qt5Compat] Main configuration is: Release. CMake Warning (dev) at qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:442 (message): INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used. Please port your module to use declarative type registration. Call Stack (most recent call first): qt5compat/src/imports/graphicaleffects5/CMakeLists.txt:36 (qt_internal_add_qml_module) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring submodule 'qtquicktimeline' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtQuickTimeline] Building for multiple configurations: Release;Debug. -- [QtQuickTimeline] Main configuration is: Release. -- Configuring submodule 'qtquick3d' -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtQuick3D] Building for multiple configurations: Release;Debug. -- [QtQuick3D] Main configuration is: Release. -- Could NOT find Qt6Quick3DTools (missing: Qt6Quick3DTools_DIR) CMake Error at qtbase/cmake/QtToolHelpers.cmake:768 (message): Failed to find the host tool "Qt6::balsam". It is part of the Qt6Quick3DTools package, but the package could not be found. Make sure you have built and installed the host Quick3D module, which will ensure the creation of the Qt6Quick3DTools package. Call Stack (most recent call first): qtbase/cmake/QtToolHelpers.cmake:83 (qt_internal_find_tool) qtquick3d/tools/balsam/CMakeLists.txt:11 (qt_internal_add_tool) -- Configuring incomplete, errors occurred! See also "/Users/nsantos/Qt/6.8.1/src/CMakeFiles/CMakeOutput.log". See also "/Users/nsantos/Qt/6.8.1/src/CMakeFiles/CMakeError.log". CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:1139 (message): CMake exited with code 1. CMake Error at cmake/QtIRProcessHelpers.cmake:173 (message): /Users/nsantos/Qt/6.8.1/src/qtbase/configure -top-level -prefix /Users/nsantos/Qt/6.8.1/ios -platform macx-ios-clang -debug-and-release -qt-host-path /Users/nsantos/Qt/6.8.1/macos exited with status: 1 Call Stack (most recent call first): cmake/QtTopLevelHelpers.cmake:35 (qt_ir_execute_process_and_log_and_handle_error) cmake/QtTopLevelHelpers.cmake:57 (qt_tl_run_toplevel_configure) cmake/QtTopLevelConfigureScript.cmake:17 (qt_tl_run_main_script)
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest