Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.5.2
-
None
Description
I'm trying to build Qt from sources on Windows/MSVC. I'm using a multi-config release+debug build, so that I can have compatible Qt versions for both DEBUG and _NDEBUG CRTs.
I'm using the following commands:
cmake -S qtbase -B build-qtbase "-DCMAKE_GENERATOR=Ninja Multi-Config" "-DCMAKE_CONFIGURATION_TYPES=Release;Debug" cmake --build build-qtbase --config Release cmake --build build-qtbase --config Debug
The last command fails when trying to execute rcc.exe during the build. Apparently, the tool ( when built for the non-default configuration) is placed in the build-qtbase/bin/Debug directory, while the required Qt DLLs are in build-qtbase/bin, so the dynamic loader can't find them.
Is this a bug? Is there a different way to build Qt for Windows?
Attachments
Issue Links
- duplicates
-
QTBUG-91647 Debug libraries are not installed to '-prefix' dir (upstream cmake multi-config install issue)
- Open