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

Configuring examples failed in 'dev'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.5.0 RC, 6.6.0 FF
    • Examples and Demos
    • None

    Description

      -- Configuring examples.
      CMake Error at qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:588 (add_executable):
        add_executable cannot create target "calculator" because another target
        with the same name already exists.  The existing target is an executable
        created in source directory
        "/home/qt/work/qt/qt5/qtbase/examples/widgets/widgets/calculator".  See
        documentation for policy CMP0002 for more details.
      Call Stack (most recent call first):
        qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:549 (_qt_internal_create_executable)
        qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:762 (qt6_add_executable)
        qtscxml/examples/scxml/calculator/CMakeLists.txt:17 (qt_add_executable)
      CMake Warning (dev) at qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:718 (message):
        Tried to call qt6_finalize_target twice on target 'calculator'.  Did you
        forget to specify MANUAL_FINALIZATION to qt6_add_executable,
        qt6_add_library or qt6_add_plugin?
      Call Stack (most recent call first):
        qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:564:EVAL:1 (qt6_finalize_target)
        qtscxml/examples/scxml/calculator/CMakeLists.txt:DEFERRED
      This warning is for project developers.  Use -Wno-dev to suppress it.
      CMake Error at qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:588 (add_executable):
        add_executable cannot create target "mediaplayer" because another target
        with the same name already exists.  The existing target is an executable
        created in source directory
        "/home/qt/work/qt/qt5/qtmultimedia/examples/multimedia/video/mediaplayer".
        See documentation for policy CMP0002 for more details.
      

      Build log: https://testresults.qt.io/logs/qt/qt5/6d23abfb7c461a942d245cc3f25409482cb71871/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-070169Documentation_Sccache_TestDocs_UseConfigure/0366c7aec9ca59de639b91421aff639b689645f4/build_1683322170/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qt5/tasks/1683322162

      Tested changes (refs/builds/qtci/dev/1677299817):
      https://codereview.qt-project.org/c/qt/qt5/+/462753/2 Update submodules on 'dev in qt/qt5'

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes