PDA

View Full Version : Building shared lib with statically built Qt



grayfox
19th August 2012, 08:11
I have built Qt statically with Visual Studio 2010 and found that I cannot use it to make any shared library(dll), is this by design?

amleto
19th August 2012, 17:09
yes. Why don't you think about what you are trying to do ;)

grayfox
22nd August 2012, 12:48
yes. Why don't you think about what you are trying to do ;)

So if Qt was built statically, then any library(even those that don't depends on Qt at all) that use such Qt build can only output static library?

My problem is that under the same source tree, I have libraries that will be statically linked to Qt, while others, are intended to be pure C++ shared library, and they are all managed by .pro files