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

[REG 6.7.1->6.8.0] can not compile examples on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.8.0 FF
    • Packaging & Installer
    • macOS14 x64
    • macOS

    Description

      Install Qt 6.8.0 macOS desktop binaries, configure example gui/rasterwindow

      /Users/qt/RTA/Qt_6.8.0/6.8.0/macos/bin/qt-cmake -S /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/gui/rasterwindow -B /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/gui/rasterwindow/bld_macos -GNinja

      Fails:

      -- The CXX compiler identification is AppleClang 15.0.0.15000309 
      -- Detecting CXX compiler ABI info 
      -- Detecting CXX compiler ABI info - done 
      -- Check for working CXX compiler: /Applications/Xcode15.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/Xcode15.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/OpenGL.framework    
      -- Found WrapOpenGL: TRUE   
      -- Configuring done (0.9s) 
      CMake Error: AUTOMOC for target rasterwindow: Test run of "moc" executable "/Users/qt/RTA/Qt_6.8.0/6.8.0/macos/./libexec/moc" failed. 
      /Users/qt/RTA/Qt_6.8.0/6.8.0/macos/./libexec/moc -h  
      dyld[19992]: Library not loaded: /Users/qt/RTA/Qt_6.8.0/6.8.0/macos/lib/libc++.1.dylib 
        Referenced from: <9CE1937A-99BC-3569-8A64-CF791BAC7AB3> /Users/qt/RTA/Qt_6.8.0/6.8.0/macos/libexec/moc 
        Reason: tried: 
        '/libc++.1.dylib' (no such file), 
        '/Users/qt/RTA/Qt_6.8.0/6.8.0/macos/lib/libc++.1.dylib' (no such file), 
        '/System/Volumes/Preboot/Cryptexes/OS/Users/qt/RTA/Qt_6.8.0/6.8.0/macos/lib/libc++.1.dylib' (no such file), 
        '/Users/qt/RTA/Qt_6.8.0/6.8.0/macos/lib/libc++.1.dylib' (no such file) 

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes