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

[REG 6.8.0 beta2->beta3] scxml/invoke and sudoku examples not compiling on iOS

    XMLWordPrintable

Details

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

    Description

      Install qt 6.8.0 beta3 snapshot iOS binaries, and try to configure example scxml/invoke:

      /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/scxml/invoke -B /Users/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/scxml/invoke/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_5b6bd -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      CMake Error at CMakeLists.txt:13 (find_package):
      -- 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
      CMake Error: Generator: execution of make failed. Make command was: /usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_5b6bd -parallelizeTargets -configuration Debug -hideShellScriptEnvironment
      -- Performing Test HAVE_GLESv2 - Failed
      -- Could NOT find GLESv2 (missing: HAVE_GLESv2 HAVE_GLESv2) 
      CMake Warning at /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6/Qt6Config.cmake:181 (find_package):
        Found package configuration file:
          /Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake
        but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
        NOT FOUND.  Reason given by package:
        Qt6Gui could not be found because dependency GLESv2 could not be found.
        Configuring with --debug-find-pkg=GLESv2 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.
      Call Stack (most recent call first):
        CMakeLists.txt:13 (find_package)
      CMake Error at CMakeLists.txt:13 (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 "Gui".
        Expected Config file at
        "/Users/qt/RTA/Qt_6.8.0/6.8.0/ios/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake"
        exists
        Configuring with --debug-find-pkg=Qt6Gui 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.
      -- 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 working with beta2.

      Same with scxml/sudoku example.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            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