-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.0.0
-
MSVC 2019; CMake 3.18.4; ninja 1.10.1
-
-
215400e153b6017ae33aadfa7a319c6daeed4f85 (qt/qtbase/dev) cd1075459cf3a5fd864b745b0492ef4b5e10d572 (qt/qtbase/dev)
I build latest qtbase from git.
cmake "../../qt6/qtbase" -DCMAKE_INSTALL_PREFIX=D:\Qt\6.0.0-msvc2019-x64-shared -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES=Release;Debug
I find that some pdb and lib files are not be installed:
- bin/Debug/androiddeployqt.pdb
- bin/Debug/androidtestrunner.pdb
- lib/Qt6BundledHarfbuzz.lib
- lib/Qt6BundledHarfbuzzd.lib
- lib/Qt6BundledPcre2.lib
- lib/Qt6BundledPcre2d.lib
Following pdb files of debug tools should be installed to <install_path>/bin/Debug, not <install_path>/bin:
- cmake_automoc_parser.pdb
- moc.pdb
- qdbuscpp2xml.pdb
- qdbusxml2cpp.pdb
- qlalr.pdb
- qmake.pdb
- qvkgen.pdb
- rcc.pdb
- tracegen.pdb
- uic.pdb
Otherwise, when CMAKE_CONFIGURATION_TYPES=RelWithDebInfo;Debug, the pdb files of release tools and debug tools will be installed to the same path.
The build log is in the attachment of QTBUG-88267.
The install log is in the attachment of this issue.
For Gerrit Dashboard: QTBUG-88268 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
321782,2 | CMake: Install pdb files to proper directories in multi-config build | dev | qt/qtbase | Status: MERGED | +2 | 0 |
321881,2 | CMake: Install missing debug info for some executable files | dev | qt/qtbase | Status: MERGED | +2 | 0 |