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

[REG 6.8.0 beta2->beta3] positioning/satelliteinfo example not compiling on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 6.8.0 Beta3
    • Positioning
    • macOS14 x64
    • iOS/tvOS/watchOS

    Description

      Install qt 6.8.0 beta3 snapshot iOS binaries, and try to configure example positioning/satelliteinfo:

      /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/positioning/satelliteinfo -B /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/positioning/satelliteinfo/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_b53a5 -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      CMake Error: Generator: execution of make failed. Make command was: /usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_5dcdd -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
      CMake Error: Generator: execution of make failed. Make command was: /usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_b53a5 -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      -- Performing Test HAVE_STDATOMIC - Failed
      -- Performing Test HAVE_STDATOMIC_WITH_LIB
      -- Performing Test HAVE_STDATOMIC_WITH_LIB - Failed
      -- 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
      CMake Error: Generator: execution of make failed. Make command was: /usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_5dcdd -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      -- 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 Qt6SerialPort (missing: Qt6SerialPort_DIR)
      CMake Warning at /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/Qt6Config.cmake:238 (message):
        Failed to find optional Qt component "SerialPort".
        Expected Config file at
        "/Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6SerialPort/Qt6SerialPortConfig.cmake"
        does NOT exist
      Call Stack (most recent call first):
        CMakeLists.txt:14 (find_package)
      -- Configuring incomplete, errors occurred!
      Compilation failed for /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/positioning/satelliteinfo  

      Example was working with beta2

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes