[Qt-interest] is QT build with static CRT (Windows) possible?

Robin Helgelin lobbin at gmail.com
Wed Dec 17 10:10:37 CET 2008


On Wed, Dec 17, 2008 at 03:45, Malyushytsky, Alex <alex at wai.com> wrote:
> I have a 3rd party library which requires me to link with static CRT libraries.
>
> Suddenly I've found that this option is not even available.
> More of that even static QT4 version is build using dynamic CRT libraries.
>
> Is there a way to build QT using static CRT libraries on the Windows
> (preferably not using solution file generated for Vstudio cause it is not generated for x64)?
>
> Any problem to expect with QT functionality (except making sure that all plugins are built with the same type of libraries)?

I do this regulary. All I do is that I configure Qt for static compile
and then change the compile/link flags in the spec file from -MD to
-MT before I compile.

Note that you can't use QtWebkit module when compile Qt statically.

-- 
        regards,
        Robin



More information about the Qt-interest-old mailing list