[Interest] Can I Build Qt5.2 with /MT (/MTd) Options on Windows?

Thiago Macieira thiago.macieira at intel.com
Wed Jan 1 03:39:32 CET 2014


On terça-feira, 31 de dezembro de 2013 19:59:00, Till Oliver Knoll wrote:
> I've never played myself with that, but AFAIK all compiler/linker settings
> are in so-called "qmake specification" files, located in some subfolder of
> your Qt source directory. But I would not be surprised if the /MT switch
> was not already set in the "MSVC2010" (?) spec file.

We use /MD and /MDd by default, which tell MSVC to use the multi-threaded DLL 
version of the assembly.

/MT and /MTd select the multi-threaded static version. They work, but you need 
to recompile everything and compile Qt in static mode.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140101/24b31137/attachment.sig>


More information about the Interest mailing list