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

[FTBFS] qt3d and qtmultimedia have a conflicting CMake target name

    XMLWordPrintable

    Details

    • Commits:
      49f8de39c1604c51e42fd6522377a608f52cb5c0 (qt/qtmultimedia/dev) 1db484a810cf60def6a64a4111fcefb4e6a7de52 (qt/qtmultimedia/6.2)

      Description

      So long as the top-level build is permitted, this needs to be fixed.

      CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:28 (add_executable):
        add_executable cannot create target "tst_qcamera" because another target
        with the same name already exists.  The existing target is an executable
        created in source directory
        "/home/tjmaciei/src/qt/qt6-release/qt3d/tests/auto/render/qcamera".  See
        documentation for policy CMP0002 for more details.
      Call Stack (most recent call first):
        qtbase/cmake/QtTestHelpers.cmake:214 (qt_internal_add_executable)
        qtmultimedia/tests/auto/unit/multimedia/qcamera/CMakeLists.txt:7 (qt_internal_add_test)
      
      
      CMake Error at qtbase/cmake/QtTestHelpers.cmake:337 (add_custom_target):
        add_custom_target cannot create target "tst_qcamera_check" because another
        target with the same name already exists.  The existing target is a custom
        target created in source directory
        "/home/tjmaciei/src/qt/qt6-release/qt3d/tests/auto/render/qcamera".  See
        documentation for policy CMP0002 for more details.
      Call Stack (most recent call first):
        qtmultimedia/tests/auto/unit/multimedia/qcamera/CMakeLists.txt:7 (qt_internal_add_test)
      

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes