Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.1.0
-
None
-
macOS 11.3 (Intel)
Apple clang version 12.0.5 (clang-1205.0.22.9)
CMake 3.20.2
Qt 6.1, relevant build options: -debug-and-release, -force-debug-info, -separate-debug-info
-
-
3c148323c08cff1487211c18beda90ae2c6ef508 (qt/qtbase/dev) 5fa7adc2341e080108a7f6b19b49c368cd032655 (qt/qtbase/6.2)
Description
Debug tools were excluded from the ALL target for debug_and_release builds as per QTBUG-85411 https://codereview.qt-project.org/c/qt/qtbase/+/309309, which was followed by a fix for CMake Install, https://codereview.qt-project.org/c/qt/qtbase/+/320777.
When installing the Debug config (cmake --install . --config Debug) on macOS configured with -separate-debug-info, the dSYM files for the excluded tools are failing to install:
CMake Error at qtbase/src/tools/tracegen/cmake_install.cmake:74 (file):
file INSTALL cannot find
"/path/to/build/qtbase/libexec/Debug/tracegen.dSYM": No such
file or directory.
Call Stack (most recent call first):
qtbase/src/cmake_install.cmake:62 (include)
qtbase/cmake_install.cmake:230 (include)
cmake_install.cmake:42 (include)
Attachments
Issue Links
- duplicates
-
QTBUG-91647 Debug libraries are not installed to '-prefix' dir (upstream cmake multi-config install issue)
- Open