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

[CMake] [MSVC2022] TEST_separate_debug_info always fail

    XMLWordPrintable

Details

    • Windows
    • 059f4dc6f (dev), 1e89277c2 (6.5), d0262b4f9 (6.6)

    Description

      I'm using MSVC 2022 to build Qt from latest code of the dev branch, and I also want to get the pdb files in case I need to debug Qt libraries. However, it seems "TEST_separate_debug_info" will always fail and thus the CMake configure process will always abort early. But if I remove the "-separate-debug-info" parameter to configure Qt, everything will work fine, and strangely I can see the pdb files are generated successfully.

      Here's how I configure Qt:

      configure.bat -release -shared -ltcg -force-debug-info -nomake examples -nomake tests -qt-zlib -prefix "C:\install"
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-108015
          # Subject Branch Project Status CR V

          Activity

            People

              qtbuildsystem Qt Build System Team
              wangwenx190 赵 宇航
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes