Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
None
-
6.5.0 RC, 6.6.0 FF
-
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.
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'