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

[cmake] name clash between qt3d and qtquick3d - assimp target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • Qt3D, Quick: 3D
    • None

    Description

      when building manual tests from dev, there's a name clash of the `assimp` target:

      [cmake] CMake Error at /home/tim/build/build-qt6-dev-clang_17-Debug/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:676 (add_executable):
      [cmake]   add_executable cannot create target "assimp" because another target with
      [cmake]   the same name already exists.  The existing target is a custom target
      [cmake]   created in source directory
      [cmake]   "/home/tim/dev/qt6-dev/qtquick3d/src/plugins/assetimporters/assimp".  See
      [cmake]   documentation for policy CMP0002 for more details.
      [cmake] Call Stack (most recent call first):
      [cmake]   qtbase/cmake/QtExecutableHelpers.cmake:32 (_qt_internal_create_executable)
      [cmake]   qtbase/cmake/QtTestHelpers.cmake:518 (qt_internal_add_executable)
      [cmake]   qtbase/cmake/QtTestHelpers.cmake:101 (qt_internal_add_test)
      [cmake]   qt3d/tests/manual/assimp/CMakeLists.txt:10 (qt_internal_add_manual_test)
      

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes