[Qt-interest] Using Windows static runtime library
David Ching
dc at remove-this.dcsoft.com
Thu Jan 28 06:44:23 CET 2010
"Rush Manbert" <rush at manbert.com> wrote in message
news:BA6DF6A9-989D-45B2-9535-98156C211958 at manbert.com...
> I am building the Qt libraries on Windows from the commercial source. The
> platform is win32-msvc2005.
>
> All of our other libraries, including many third party libraries, have
> been built so that they link against the static C runtime libraries.
>
> It appears that the Qt libraries always link against the shared C runtime
> libraries. If I can't override this, then I am going to need to rebuild
> ALL of my other libraries and applications.
>
> Is there some way to override this at configure or build time?
>
There is a way, but it's not supported because Nokia found it to be
unstable. I don't know the details. FWIW, other than the hassle of
rebuilding all your static libs, it's pretty straightforward to create an
applocal installation which puts the runtime DLL's in the same folder as the
.exe so you retain the convenience of an xcopy deployment that you have with
static linking.
-- David
More information about the Qt-interest-old
mailing list