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

New examples in quick3d not compiling on iOS

    XMLWordPrintable

Details

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

    Description

      Few quick3d examples are failing on configure step, the output seems to be similar, so combining to one report.

      Install Qt 6.8.0 beta3 snapshot iOS binaries and configure example quick3d/xr_input:

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

      -> fails:

      CMake Error at CMakeLists.txt:24 (target_link_libraries):
      -- 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
      -- Could NOT find Qt6Quick3DXr (missing: Qt6Quick3DXr_DIR)
      CMake Warning at CMakeLists.txt:9 (find_package):
        Found package configuration file:
          /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/Qt6Config.cmake
        but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
        FOUND.  Reason given by package:
        Failed to find required Qt component "Quick3DXr".
        Expected Config file at
        "/Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6Quick3DXr/Qt6Quick3DXrConfig.cmake"
        does NOT exist
        Configuring with --debug-find-pkg=Qt6Quick3DXr might reveal details why the
        package was not found.
        Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package.
      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 done (20.3s)
      CMake Error at CMakeLists.txt:24 (target_link_libraries):
        Target "xr_input" links to:
          Qt::Quick3DXr
        but the target was not found.  Possible reasons include:
          * There is a typo in the target name.
          * A find_package call is missing for an IMPORTED target.
          * An ALIAS target is missing.
      -- Generating done (0.1s)
      CMake Generate step failed.  Build files cannot be regenerated correctly. 

      Similar output on examples:

      quick3d/xr_freeformteleportation
      quick3d/xr_touch
      quick3d/xr_anchors
      quick3d/xr_simple

      Attachments

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

        Activity

          People

            stromme Christian
            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