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

Document how to install debug-and-release builds to avoid missing debug libraries (upstream cmake multi-config install issue)

    XMLWordPrintable

Details

    • Windows

    Description

      I am building Qt 6.5.1 from sources with:

      • msvc2022
      • CMake 3.26.4

       

      With the following commands:

      cd %WORK_FOLDER%\build
      call ..\qt5\configure.bat -prefix %INSTALL_FOLDER%%COMPILER_VERSION% -mp -debug-and-release -force-debug-info -nomake examples -nomake tests
      cmake --build . --parallel
      

      I expect the binaries in Release (eg. Qt6Core.dll), RelWithDebInfo (Qt6Core.dll & Qt6Core.pdb) and Debug (Qt6Cored.dll) but the debug versions of the binaries are not built (Qt6Cored.dll is not generated).

      How can I build at the same time release and debug versions of Qt ?

      Thanks

      Attachments

        1. config.summary
          17 kB
          Jérôme Desfieux

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              jd__ Jérôme Desfieux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes