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

[REG 6.7.0->6.7.1] iOS examples not compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.7.1, 6.7.2, 6.8.0 FF
    • 6.7.1
    • Build System
    • macOS-11.0-x64
      macOS-13.0-x64
    • iOS/tvOS/watchOS
    • a602e7af5 (6.7.1), 97450d6b5 (dev), 1035f6bd2 (6.7)

    Description

      Install Qt 6.7.1 (snapshot, sha1= 2496b860e65bc495e13fe550d2c1a6b77b483ceb) iOS binaries and try to compile any of the examples. For example gui/rasterwindow:

      /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.7.1/Examples/Qt-6.7.1/gui/rasterwindow -B /Users/qt/RTA/Qt_6.7.1/Examples/Qt-6.7.1/gui/rasterwindow/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator 

      Fails:

      CMake Error at /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6PdfQuick/Qt6PdfQuickTargets.cmake:130 (message):
      -- Configuring incomplete, errors occurred!
      -- Using Qt bundled PCRE2.
      -- Found WrapPCRE2: TRUE  
      -- 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/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.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  
      CMake Error at /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6PdfQuick/Qt6PdfQuickTargets.cmake:130 (message):
        The imported target "Qt6::PdfQuick_resources_1" references the file
           "/Users/qt/RTA/Qt_6.7.1/6.7.1/ios/./qml/QtQuick/Pdf/objects-Debug/PdfQuick_resources_1/.qt/rcc/qrc_qmake_QtQuick_Pdf_init.cpp.o"
        but this file does not exist.  Possible reasons include:
        * The file was deleted, renamed, or moved to another location.
        * An install or uninstall procedure did not complete successfully.
        * The installation package was faulty and contained
           "/Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6PdfQuick/Qt6PdfQuickTargets.cmake"
        but not all the files it references.
      Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6PdfQuick/Qt6PdfQuickConfig.cmake:55 (include)
        /Users/qt/RTA/Qt_6.7.1/Tools/CMake/CMake.app/Contents/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginDependencies.cmake:18 (_qt_internal_find_qt_dependencies)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginConfig.cmake:51 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Qml/Qt6QmlPlugins.cmake:47 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:139 (include)
        /Users/qt/RTA/Qt_6.7.1/Tools/CMake/CMake.app/Contents/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6VirtualKeyboard/Qt6VirtualKeyboardDependencies.cmake:42 (_qt_internal_find_qt_dependencies)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6VirtualKeyboard/Qt6VirtualKeyboardConfig.cmake:43 (include)
        /Users/qt/RTA/Qt_6.7.1/Tools/CMake/CMake.app/Contents/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6QVirtualKeyboardPluginDependencies.cmake:18 (_qt_internal_find_qt_dependencies)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6QVirtualKeyboardPluginConfig.cmake:51 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:13 (__qt_internal_include_plugin_packages)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:138 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
        CMakeLists.txt:7 (find_package)
      CMake Warning at /Users/qt/RTA/Qt_6.7.1/Tools/CMake/CMake.app/Contents/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
        Found package configuration file:
          /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6VirtualKeyboard/Qt6VirtualKeyboardConfig.cmake
        but it set Qt6VirtualKeyboard_FOUND to FALSE so package
        "Qt6VirtualKeyboard" is considered to be NOT FOUND.
      Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6QVirtualKeyboardPluginDependencies.cmake:18 (_qt_internal_find_qt_dependencies)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6QVirtualKeyboardPluginConfig.cmake:51 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:13 (__qt_internal_include_plugin_packages)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:138 (include)
        /Users/qt/RTA/Qt_6.7.1/6.7.1/ios/lib/cmake/Qt6/Qt6Config.cmake:169 (find_package)
        CMakeLists.txt:7 (find_package)
      -- Configuring incomplete, errors occurred! 

      Examples were compiled with Qt 6.7.0 iOS binaries.

      Attachments

        For Gerrit Dashboard: QTBUG-124747
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes