Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2
-
None
-
-
b8804bf868c9f9b18a8b1caa9f512659113ddb98 (qt/qtwebengine/dev) d627842e98c1cbaec0123566dc1af7b6018e5dc1 (qt/qtwebengine/6.2)
Description
Configure top-level build with:
../qt6-dev-src/configure -developer-build -release – -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_TESTS=ON
The configuration fails with:
CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:3497 (add_custom_target): add_custom_target cannot create target "examples" because another target with the same name already exists. The existing target is a custom target created in source directory "/home/stampho/work/Qt/qt6-dev-src/qtbase/examples". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): qtwebengine/CMakeLists.txt:157 (externalproject_add) CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2453 (message): Target "examples" was not generated by ExternalProject_Add. Call Stack (most recent call first): qtwebengine/CMakeLists.txt:166 (externalproject_add_stepdependencies) -- Configuring incomplete, errors occurred! See also "/home/stampho/work/Qt/qt6-dev-release/CMakeFiles/CMakeOutput.log". See also "/home/stampho/work/Qt/qt6-dev-release/CMakeFiles/CMakeError.log". CMake Error at /home/stampho/work/Qt/qt6-dev-src/qtbase/cmake/QtProcessConfigureArgs.cmake:932 (message): CMake exited with code 1.