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

Installing a debug_and_release Qt with cmake . --install does not install "debug" DLLs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.0.0 Beta2
    • Build System: CMake

    Description

      "$qt_src_base_folder\configure.bat" -cmake -debug-and-release -opensource -confirm-license -opengl desktop -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtlocation -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwebview -skip qtscript -mp -optimize-size -shared -prefix $prefix_folder -openssl-linked -DOPENSSL_ROOT_DIR="$openssl_base_folder" -DCMAKE_INCLUDE_PATH="$mysql_include_folder" -DCMAKE_LIBRARY_PATH="$mysql_lib_folder"# -openssl-linked -I $openssl_include_folder -L $openssl_libs_folder OPENSSL_LIBS="-lUser32 -lAdvapi32 -lGdi32 -llibcrypto -llibssl" -I $mysql_include_folder -L $mysql_lib_folder MYSQL_LIBS="-llibmariadb"# Compile.
      
      cmake --build .
      
      cmake --install .
      

      Lattest command "cmake --install ." does not install BOTH debug and release libs/bin files. It only installs RELEASE libs/bins. Notice that this is "debug-and-release" build type and both debug and release binaries do get compiled but only release binaries are copied during "install" step to output folder.

      Compile folder:

      Output install folder:

      Interestingly, "prl" files were copied both debug and release:

      Attachments

        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
              skunkos Martin Rotter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes