[Development] Qt5 + Windows + static libraries

Oswald Buddenhagen oswald.buddenhagen at theqtcompany.com
Wed Jan 13 15:11:44 CET 2016


On Wed, Jan 13, 2016 at 01:21:23PM +0100, Jürgen Buchmüller wrote:
> And after much more trial and error, the root cause of the problem
> turned out to be two of our submodules being built as static libraries
> and linked against in some other submodules of the application.
> 
> As it seems now, creating "CONFIG += static create_prl" libraries and
> linking against these with "CONFIG += link_prl" makes the submodules
> (DLLs) which link against the static libs also import the release Qt5-
> DLLs in a debug build.
> 
i see no bug report here. when the prl files name release dlls, your
static libraries are evidently linked against them.



More information about the Development mailing list