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

REG->5.15: cmake errors about conflicting targets in QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.0 Beta4
    • 5.15.0 Beta3
    • Build System
    • None
    • macOS

    Description

      3.4.2020: The Qt for Python build of 5.15 started to fail https://codereview.qt-project.org/c/pyside/pyside-setup/+/295818 with errors like

      Make Error at /Users/qt/work/install/lib/cmake/Qt5Qml/Qt5Qml_QDebugMessageServiceFactory.cmake:2 (add_library):
        add_library cannot create imported target
        "Qt5::QDebugMessageServiceFactory" because another target with the same
        name already exists.
      Call Stack (most recent call first):
        /Users/qt/work/install/lib/cmake/Qt5Qml/Qt5QmlConfigExtras.cmake:4 (include)
        /Users/qt/work/install/lib/cmake/Qt5Qml/Qt5QmlConfig.cmake:238 (include)
        /Users/qt/work/install/lib/cmake/Qt5QmlModels/Qt5QmlModelsConfig.cmake:93 (find_package)
        /Users/qt/work/install/lib/cmake/Qt5Quick/Qt5QuickConfig.cmake:93 (find_package)
        /Users/qt/work/install/lib/cmake/Qt5PositioningQuick/Qt5PositioningQuickConfig.cmake:93 (find_package)
        /Users/qt/work/install/lib/cmake/Qt5Location/Qt5LocationConfig.cmake:93 (find_package)
        /Users/qt/work/pyside/pyside-setup/sources/cmake_helpers/helpers.cmake:115 (find_package)
        /Users/qt/work/pyside/pyside-setup/sources/cmake_helpers/helpers.cmake:82 (COLLECT_MODULE_IF_FOUND)
        CMakeLists.txt:169 (remove_skipped_modules)
      

      Attachments

        1. 5.15.0.out
          13 kB
        2. 5.15.0.out
          13 kB
        3. build_rstudio_focal.sh
          1 kB
        4. qtbug83282_log.txt
          11 kB
        5. rstudio-1.3.patch
          6 kB
        6. rstudio-1.3.patch
          5 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-83282
          # Subject Branch Project Status CR V

          Activity

            People

              kkohne Kai Köhne
              kleint Friedemann Kleint
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes