[Interest] [qt6-windows] How can I install both debug and release version of qt libs after building?

Liang Jian jianliang79 at gmail.com
Sun Mar 7 05:00:34 CET 2021


    I found that I can install both debug and release versions of qt libs
with the following commands:

> cmake --install . --config Debug
> cmake --install . --config Release



On Sat, Mar 6, 2021 at 2:38 PM Liang Jian <jianliang79 at gmail.com> wrote:

>     I build qt6 from qt-6.1 branch with the following commands:
>
> mkdir qt6-build
>> cd qt6-build
>> ..\qt5\configure.bat -prefix ..\qt6-win64 -debug-and-release -opengl
>> desktop -D QT_NO_BUILD_TESTS=ON -D QT_NO_MAKE_EXAMPLES=ON -skip qt3d -skip
>> qtactiveqt -skip qtgraphicaleffects -skip qtmultimedia -skip qtwebengine
>> -skip qtwinextras
>> cmake --build . --parallel
>> cmake --install .
>
>
>     Everything goes well, but after installation I found that only release
> versions of qt libs were installed in the installation directory specified
> in the configure process. But I have added the -debug-and-release
> configuration option in the configure step. What is wrong with my building
> commands? Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210307/5ffe84e6/attachment.html>


More information about the Interest mailing list