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

    • Windows

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes