[CMake] static Qt linking while building other DLLs

Glenn Hughes ghughes02138 at gmail.com
Tue Aug 3 18:40:50 EDT 2010


Hey,

I'd like to hard-link Qt in my application, while at the same time
allowing some of my other libraries to build as DLLs. Last time I
looked cmake just had a single 'either or' option for building either
as shared libraries or without. Is there some way to do a mixed build
like this, and more specifically, what exactly are the steps for
static linking to Qt?

Thanks and best wishes
Glenn


More information about the CMake mailing list