Build *both* static and dynamic libs
General and Desktop
6
Posts
5
Posters
4.8k
Views
1
Watching
-
I'd like to set up a project that will build both static and dynamic versions of a library. There are no Qt dependencies here anywhere.
It looks to me as if I might be able to do something like:
CONFIG += staticlib
CONFIG += dllBut if I do this, then only the DLL version gets built. Is "dll" overriding "staticlib" here?
I'm clearly doing something very obvious wrong. Can somebody sort me out here?
Thanks!
-
Does "CONFIG+=static_and_shared" work?