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

[Regression] Xcode generator fails to create valid project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.6.0
    • Build System: CMake
    • None
    • macOS

    Description

      The attached project fails to generate with

       

      CMake Error in CMakeLists.txt:
        The custom command generating

          /path/to/builddir/.qsb/shader.vert.qsb

        is attached to multiple targets:

          MyLib
          qsb_MyLib_meter_shaders

        but none of these is a common dependency of the other(s).  This is not
        allowed by the Xcode "new build system".

       

      When run with

      cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/path/to/Qt/6.5.3/ios/lib/cmake/Qt6/qt.toolchain.cmake /path/to/project

       

      This works fine with Qt 6.4.2

       

      I'm using cmake 3.27.7

      Attachments

        1. untitled.zip
          2 kB
          Albert Astals Cid
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            albert.astals.cid.avid Albert Astals Cid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes