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

[FTBFS] qtcoap and qtdeclarative have a conflicting target name

    XMLWordPrintable

    Details

    • Commits:
      a9f5b331c6b69f3fb50ce71a4c6205f359eaa62a (qt/qtcoap/dev) 7e4618dc2b700504e9b2e081b698523111aed9d2 (qt/qtcoap/6.2)

      Description

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

      CMake Error at /home/tjmaciei/obj/qt/qt6-release/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (add_executable):
        add_executable cannot create target "testapp" 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/qtdeclarative/tests/auto/qml/qqmlapplicationengine/testapp".
        See documentation for policy CMP0002 for more details.
      Call Stack (most recent call first):
        /home/tjmaciei/obj/qt/qt6-release/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:488 (_qt_internal_create_executable)
        /home/tjmaciei/obj/qt/qt6-release/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:754 (qt6_add_executable)
        qtcoap/examples/coap/consolecoapclient/CMakeLists.txt:22 (qt_add_executable)
      

        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