Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0 RC2
-
MSVC2019; CMake 3.19.0
-
-
97b1062674283afb0131e73d8319c95aa7087a8b (qt/qtdeclarative/dev) a835cb475bfb1f062454dc235eb75413e38000eb (qt/qtdeclarative/6.2)
Description
I use CMake 3.19.0 to build latest qt6.
cmake "../qt6" -DCMAKE_INSTALL_PREFIX=D:\Qt\6.0.0-msvc2019-x64-shared -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES=Release;Debug
According to https://codereview.qt-project.org/c/qt/qtbase/+/309309 , since CMake 3.19, debug tools won't be built in debug_and_release build.
However, following debug tools are still built (can be found in <install_dir>/bin/Debug/):
- cmake_automoc_parser.exe
- moc.exe
- rcc.exe
- uic.exe
- qmltyperegistrar.exe
- qmlcachegen.exe
- qmltime.exe
Attachments
For Gerrit Dashboard: QTBUG-88414 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
349535,3 | CMake: remove unnecessary add_dependencies() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
350508,2 | Skip building debug bootstrap lib for CMake 3.20 and multi-config build | dev | qt/qtbase | Status: MERGED | +2 | 0 |
359131,4 | testcon: Use qt_internal_add_app() | dev | qt/qtactiveqt | Status: MERGED | +2 | 0 |
360154,2 | testcon: Use qt_internal_add_app() | 6.2 | qt/qtactiveqt | Status: MERGED | +2 | 0 |
366236,5 | Avoid to build the debug executable of qmlcachegen in multi-config build | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
369368,2 | Avoid to build the debug executable of qmlcachegen in multi-config build | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |