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

[REG 6.9.1-6.10.0 beta1] Qt Interface Framework examples not configuring on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10.0 Beta1
    • Qt Interface Framework
    • macOS13 x64
    • Android, macOS

    Description

      Install qt 6.10.0 beta1 macOS binaries on x64 machine, including all Additional Modules.

      Configure example interfaceframework/addressbook:

      /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/bin/qt-cmake -S /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/interfaceframework/addressbook -B /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/interfaceframework/addressbook/bld_macos -DOPENSSL_ROOT_DIR=/usr/local/openssl-3.0.7 -GNinja 

      -> fails:

      -- The CXX compiler identification is AppleClang 14.0.0.14000029
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode14.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Found OpenGL: /Applications/Xcode14.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework
      -- Found WrapOpenGL: TRUE
      -- Using installed ifcodegen found at: /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/libexec/ifcodegen
      -- Using installed ifcodegen templates found at: /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/./ifcodegen-templates
      -- Running ifcodegen for /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/interfaceframework/addressbook/example-addressbook.qface with template frontend
      ifcodegen call failed:
      /Applications/CMake.app/Contents/bin/cmake -E env LC_ALL=en_US.UTF-8 /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/libexec/ifcodegen -T /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/./ifcodegen-templates --template=frontend --force --target-platform=Darwin /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/interfaceframework/addressbook/example-addressbook.qface /Users/qt/RTA/Qt_6.10.0/Examples/Qt-6.10.0/interfaceframework/addressbook/bld_macos/frontend
      Unknown system error -86
      CMake Error at /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:550 (message):
        Error while running ifcodegen
      Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:145 (qt6_ifcodegen_generate)
        /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:642 (internal_ifcodegen_import)
        /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:756 (qt6_ifcodegen_import_variables)
        /Users/qt/RTA/Qt_6.10.0/6.10.0/macos/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:786 (qt6_ifcodegen_add_qml_module)
        CMakeLists.txt:33 (qt_ifcodegen_add_qml_module) 

      Works on macOS15 arm64.

      Example configures with 6.9.1 macOS x64.

      Fails also on Android/macOS.

      Same with other QtIF examples.

      Attachments

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

        Activity

          People

            gagi Dominik Holland
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes