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

[REG 6.8.0 beta2->beta3] quick/models/abstractitemmodel example not compiling on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.8.0 RC
    • 6.8.0 Beta3
    • Quick: Other
    • macOS14 x64
    • iOS/tvOS/watchOS

    Description

      Install qt 6.8.0 beta3 snapshot iOS binaries, and try to configure example quick/models/abstractitemmodel:

      /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/quick/models/abstractitemmodel -B /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/quick/models/abstractitemmodel/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator 

      -> fails:

      CMake Error: Generator: execution of make failed. Make command was: /usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_dba7b -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      -- Configuring incomplete, errors occurred!
      -- 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/clang++ - 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
      -- Found ZLIB: /Applications/Xcode15.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/lib/libz.tbd (found version "1.2.12")
      -- Found WrapSystemZLIB: TRUE (found version "1.2.12")
      -- Using system ZLIB.
      -- Found WrapZLIB: TRUE (found version "1.2.12")
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Looking for backtrace
      -- Looking for backtrace - found
      -- backtrace facility detected in default set of libraries
      -- Found Backtrace: /Applications/Xcode15.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/include
      -- Using Qt bundled PCRE2.
      -- Found WrapPCRE2: TRUE (found version "6.8.0")
      -- Performing Test HAVE_GETTIME
      CMake Error: Generator: execution of make failed. Make command was: /usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_dba7b -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      -- Performing Test HAVE_GETTIME - Failed
      -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK
      -- Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Success
      -- Found WrapRt: TRUE
      -- Performing Test HAVE_EGL
      -- Performing Test HAVE_EGL - Failed
      -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) 
      -- Performing Test HAVE_GLESv2
      -- Performing Test HAVE_GLESv2 - Success
      -- Found GLESv2: /Applications/Xcode15.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/System/Library/Frameworks/OpenGLES.framework
      -- Using Qt bundled PNG.
      -- Found WrapPNG: TRUE (found version "6.8.0")
      -- Using Qt bundled Harfbuzz.
      -- Found WrapHarfbuzz: TRUE (found version "6.8.0")
      -- Using Qt bundled Freetype.
      -- Found WrapFreetype: TRUE (found version "6.8.0")
      -- Using Qt bundled Jpeg.
      -- Found WrapJpeg: TRUE (found version "6.8.0")
      -- Found AVFoundation: /Applications/Xcode15.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/System/Library/Frameworks/AVFoundation.framework
      CMake Warning at /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:281 (message):
        No organization bundle identifier prefix could be retrieved from Xcode
        preferences.  This can lead to code signing issues due to a non-unique
        bundle identifier.  Please set up an organization prefix by creating a new
        project within Xcode, or consider providing a custom bundle identifier by
        specifying the MACOSX_BUNDLE_GUI_IDENTIFIER or
        XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER property.
      Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:438 (_qt_internal_get_default_apple_bundle_identifier)
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:980 (_qt_internal_set_apple_bundle_identifier)
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:996 (_qt_internal_finalize_apple_app)
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:986 (_qt_internal_finalize_ios_app)
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_uikit_app)
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:858 (_qt_internal_finalize_executable)
        /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:827:EVAL:1 (qt6_finalize_target)
        CMakeLists.txt:DEFERRED
      -- Configuring incomplete, errors occurred! 

      Example worked fine on beta2.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes