Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0 Beta3
-
None
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
Issue Links
- is duplicated by
-
QTBUG-83675 add_library cannot create imported target
- Closed
-
QTBUG-83376 add_library cannot create imported target XXX because another target with the same name already exists.
- Closed
-
QTBUG-83454 A CMake project failed to be configured in Qt Creator
- Closed