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

widgets/itemviews/simpletreemodel not configuring on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0, 6.8.1, 6.9.0 FF
    • Build System: CMake
    • iOS/tvOS/watchOS

    Description

      Install Qt 6.8.1iOS binaries and configure example widgets/itemviews/simpletreemodel:

      /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/widgets/itemviews/simpletreemodel -B /Users/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/widgets/itemviews/simpletreemodel/bld_ios -DCMAKE_OSX_SYSROOT=iphonesimulator 

      -> fails:

      -- Found WrapAtomic: TRUE
      -- Looking for backtrace
      -- Looking for backtrace - found
      -- backtrace facility detected in default set of libraries
      -- Found Backtrace: /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include
      -- Using Qt bundled PCRE2.
      -- Found WrapPCRE2: TRUE (found version "6.8.1")
      -- 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/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/OpenGLES.framework
      -- Using Qt bundled PNG.
      -- Found WrapPNG: TRUE (found version "6.8.1")
      -- Using Qt bundled Harfbuzz.
      -- Found WrapHarfbuzz: TRUE (found version "6.8.1")
      -- Using Qt bundled Freetype.
      -- Found WrapFreetype: TRUE (found version "6.8.1")
      -- Using Qt bundled Jpeg.
      -- Found WrapJpeg: TRUE (found version "6.8.1")
      -- Found AVFoundation: /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/AVFoundation.framework
      CMake Warning at /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:281 (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
        XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER property.
      Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:438 (_qt_internal_get_default_apple_bundle_identifier)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:978 (_qt_internal_set_apple_bundle_identifier)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:994 (_qt_internal_finalize_apple_app)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:984 (_qt_internal_finalize_ios_app)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:759 (_qt_internal_finalize_uikit_app)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:823 (_qt_internal_finalize_executable)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:861:EVAL:1 (qt6_finalize_target)
        CMakeLists.txt:DEFERRED
      CMake Warning at /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:281 (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
        XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER property.
      Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:438 (_qt_internal_get_default_apple_bundle_identifier)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:978 (_qt_internal_set_apple_bundle_identifier)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:994 (_qt_internal_finalize_apple_app)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6/QtPublicAppleHelpers.cmake:984 (_qt_internal_finalize_ios_app)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:759 (_qt_internal_finalize_uikit_app)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:823 (_qt_internal_finalize_executable)
        /Users/qt/RTA/Qt_6.8.1/6.8.1/ios/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:861:EVAL:1 (qt6_finalize_target)
        CMakeLists.txt:DEFERRED
      -- Configuring done (16.5s)
      -- Generating done (0.0s)
      CMake Error in CMakeLists.txt:
        The custom command generating    /Users/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/widgets/itemviews/simpletreemodel/bld_ios/.qt/rcc/qrc_simpletreemodel.cpp  is attached to multiple targets:    simpletreemodel
          simpletreemodel_tester  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. 

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              joaijala Johanna Äijälä
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change