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

New examples grpc/magic8ball and chat not compiling on iOS or Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.0, 6.5.1, 6.6.0
    • 6.5.0 RC
    • GRPC
    • Android, iOS/tvOS/watchOS
    • 07db4d559 (6.5.0), 5ed6390e1 (6.5), 9b0eb4c95 (dev)

    Description

      Install Qt 6.5.0 RC iOS binaries, inlcude all additional modules to installation.

      Configure example grpc/magic8ball

      6.5.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/grpc/magic8ball -B /Users/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/grpc/magic8ball/bld_ios -GNinja 

      Fails:

      CMake Error at CMakeLists.txt:20 (qt_add_protobuf):
      -- The CXX compiler identification is AppleClang 13.0.0.13000029
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode13.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  
      -- Found ZLIB: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/libz.tbd (found version "1.2.11") 
      -- Found WrapSystemZLIB: TRUE  
      -- Using system ZLIB.
      -- Found WrapZLIB: TRUE  
      -- 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/Xcode13.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include  
      -- Using Qt bundled PCRE2.
      -- Found WrapPCRE2: TRUE  
      -- Performing Test HAVE_GETTIME
      -- Performing Test HAVE_GETTIME - 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/Xcode13.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/OpenGLES.framework  
      -- Using Qt bundled PNG.
      -- Found WrapPNG: TRUE  
      -- Using Qt bundled Harfbuzz.
      -- Found WrapHarfbuzz: TRUE  
      -- Using Qt bundled Freetype.
      -- Found WrapFreetype: TRUE  
      -- Using Qt bundled Jpeg.
      -- Found WrapJpeg: TRUE  
      -- Found AVFoundation: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/AVFoundation.framework  
      CMake Warning at grpc_server_example/CMakeLists.txt:12 (message):
        Dependencies of QtGrpc test server not found.  Skipping.
      CMake Error at CMakeLists.txt:20 (qt_add_protobuf):
        Unknown CMake command "qt_add_protobuf".
      -- Configuring incomplete, errors occurred!
      See also "/Users/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/grpc/magic8ball/bld_ios/CMakeFiles/CMakeOutput.log".
      See also "/Users/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/grpc/magic8ball/bld_ios/CMakeFiles/CMakeError.log".
      Compilation failed for /Users/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/grpc/magic8bal 

      Examples were not present in beta3 content

      Attachments

        Activity

          People

            kokujawa Konrad Kujawa
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: