Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.2.3
-
None
-
Windows 10 v10.0.18362
Visual Studio 2019 v16.11.10
Windows 10 SDK 10.019041.0 (version 2004)
Description
When building Qt 6 on Windows, if I specify -debug-and-release, and -prefix <some dir>, when cmake --install is run, only the release versions of .dll s and .lib s get installed to the prefix directory.
Here is the exact configure line I use:
E:\qtcore_build\src\qtbase\configure.bat -top-level -opensource -confirm-license -prefix E:\qtcore_build\install\qt_6.2.3 -debug-and-release -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcanvas3d -skip qtcharts -skip qtcoap -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtfeedback -skip qtgamepad -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmqtt -skip qtmultimedia -skip qtnetworkauth -skip qtopcua -skip qtpim -skip qtpositioning -skip qtqa -skip qtquick3d -skip qtquicktimeline -skip qtremoteobjects -skip qtrepotools -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtshadertools -skip qtspeech -skip qtsvg -skip qtsystems -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtxmlpatterns
and the cmake commands I use to build and install:
cmake --build . --parallel
cmake --install .
QtCore libs and dlls produced:
PS E:\qtcore_build> dir E:\qtcore_build\install\qt_6.2.3\lib\Qt6Core* Directory: E:\qtcore_build\install\qt_6.2.3\lib Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 3/8/2022 1:11 PM 2838284 Qt6Core.lib -a---- 3/8/2022 1:10 PM 150 Qt6Core.prl -a---- 3/8/2022 1:10 PM 151 Qt6Cored.prl PS E:\qtcore_build> dir E:\qtcore_build\install\qt_6.2.3\bin\Qt6Core* Directory: E:\qtcore_build\install\qt_6.2.3\bin Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 3/8/2022 1:11 PM 5547008 Qt6Core.dll
Note: This is a regression from Qt 5.15.2.
This configuration properly installs debug libraries to PREFIX with the same above configure line.
Attachments
Issue Links
- duplicates
-
QTBUG-88680 Installing a debug_and_release Qt with cmake . --install does not install "debug" DLLs
- Closed