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

[REG 6.6.0beta4->6.7.0] linguist/i18n and qml/qml-i18n not compiling on iOS



    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.0 FF
    • 6.7.0 FF
    • macOS11 x64
      macOS12 x64
    • iOS/tvOS/watchOS
    • c700597cf (dev)


      Install Qt 6.7.0 iOS snapshot, configure example linguist/i18n:

      /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/linguist/i18n -B /Users/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/linguist/i18n/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator 


      CMake Error in CMakeLists.txt: 
      -- The CXX compiler identification is AppleClang 
      -- 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/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/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.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/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include   
      -- 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   
      -- Found AVFoundation: /Applications/Xcode13.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/System/Library/Frameworks/AVFoundation.framework   
      CMake Warning at /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:287 (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 
      Call Stack (most recent call first): 
        /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:444 (_qt_internal_get_default_apple_bundle_identifier) 
        /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:692 (_qt_internal_set_apple_bundle_identifier) 
        /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:700 (_qt_internal_finalize_apple_app) 
        /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:673 (_qt_internal_finalize_ios_app) 
        /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:757 (_qt_internal_finalize_executable) 
        /Users/qt/RTA/Qt_6.7.0/6.7.0/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:590:EVAL:1 (qt6_finalize_target) 
      -- Configuring done 
      -- Generating done 
      CMake Error in CMakeLists.txt: 
        The custom command generating  
        is attached to multiple targets:  
        but none of these is a common dependency of the other(s).  This is not 
        allowed by the Xcode "new build system".   
      CMake Generate step failed.  Build files cannot be regenerated correctly. 

      Same with qml/qml-i18n.

      Both examples work with Qt 6.6.0 beta4 binaries.



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



            jbornema Joerg Bornemann
            joaijala Johanna Äijälä
            1 Vote for this issue
            2 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes