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

When building from source "-debug-and-release" "cmake --install ." isn't enough

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.1
    • Documentation
    • Windows

      As per the summary, when building debug and release builds from source, the documented cmake installation command only installs the release build.

      I had to google the solution and found two old forum posts with the same problem and the same solution:

      https://forum.qt.io/topic/139589/cmake-install-of-qt-build-does-not-install-debug-artifacts

      https://forum.qt.io/topic/130545/debug-dlls-are-not-installed/3

      Consider updating the docs here:

      https://doc.qt.io/qt-6/windows-building.html

      or where "-debug-and-release" is called out here:

      https://doc.qt.io/qt-6/configure-options.html

       

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

            docteam Qt Documentation Team
            andye Andy Edmiston
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes