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

Xcode build fails: is attached to multiple targets

    XMLWordPrintable

Details

    • d18f6d694 (dev), 65d8be4b9 (6.8)

    Description

      We tried to upgrade from 6.7.3 to 6.8.0 and our CI with macOS fails. Qt 6.7.3 works without problems.

      CMake Error in src/ui/qml/modules/CMakeLists.txt:
        The custom command generating
      
          /Users/governikus/workspace/default_Review_MacOS_DMG_PKG/build/src/ui/qml/modules/.rcc/qmlcache/module_Governikus.Animations.aotstats
      
        is attached to multiple targets:
      
          module_AusweisAppUiQmlModuleDarwinAnimations_aotstats_targets
          module_AusweisAppUiQmlModuleAndroidAnimations_aotstats_targets
          module_AusweisAppUiQmlModuleiOSAnimations_aotstats_targets
      
        but none of these is a common dependency of the other(s).  This is not
        allowed by the Xcode "new build system".
      

      Looks a little bit like QTBUG-125995.
      We uses the same .qml file in multiple modules here that can be switched at runtime.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes