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

[REG 6.8.0 beta2->beta3] applicationmanager examples not compiling on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • ee1b14daa (dev), c7f3c0e77 (6.8)

    Description

      Install Qt 6.8.0 beta3 snapshot iOS binaries and try to compile any of the applicationmanager examples, e.g. animated-windows:

      /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/applicationmanager/animated-windows -B /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/applicationmanager/animated-windows/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator 

      -> fails:

      CMake Error at CMakeLists.txt:58 (install):
      -- 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
      -- Performing Test HAVE_GETTIME - Success
      -- 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 Error at CMakeLists.txt:58 (install):
        install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
        target "animated-windows".
      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! 

      PATH:

      /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/bin:/Users/qt/RTA/Qt_6.8.0/Tools/CMake/CMake.app/Contents/bin:/Users/qt/RTA/Qt_6.8.0/Tools/Ninja:/usr/local/opt/openssl/bin:/Users/qt/Library/Python/3.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin/:/Applications/CMake.app/Contents/bin:/Users/qt/sccache_wrapper:/usr/local/sccache:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/bin:/opt/emsdk/upstream/emscripten/ 

      Example was compiled in beta2.

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes