Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88414

CMake multi-config build still build some debug tools

    XMLWordPrintable

Details

    • Windows
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            lixinwei Li Xinwei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: