Thiago,

Thanks for your reply. 

You have just confirmed me what I have understood from my readings on the MSDN 
documentation. Question:

When the -static flag is passed to configure what configure does? Because from 
the compile output I can see the /MD flag even when compiled statically. 

I have manually edited the msvc-desktop.conf and changed from MD to MT. Will 
this make Qt completely independent of the runtime dynamic lib? What are the 
implications of doing this?

Thanks,

Regards,

Nuno

> On 08 Oct 2015, at 21:22, Thiago Macieira <thiago.macie...@intel.com> wrote:
> 
> On Thursday 08 October 2015 20:29:20 Nuno Santos wrote:
>> Hi,
>> 
> [cut]
> 
> -MD tells Visual Studio that you're linking against the .dll that contains 
> the 
> release-mode version of its runtime. The -MT option tells it that you're 
> going 
> to link against the .lib that contains the release-mode static version.
> 
> If you want to use -MT, you MUST NOT enable any DLLs that link to the 
> runtime. 
> Please recompile Qt in static mode too and you'll probably need to recompile 
> a 
> few of the dependencies too.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to