[Interest] Tweaking a static build of Qt 6 for Windows

Nuno Santos nuno.santos at imaginando.pt
Mon Jan 30 19:13:49 CET 2023


Thiago,

Thanks for your reply.

I’m not very technical about this details like yourself. I’ve been doing this since ever. To reconsider I need to better understand the reasons.

The thing is. I need to have Qt compiled with MT instead of MD other wise I can’t open two instances of my plugins on the same host. Also, I don’t want to bundle MSVC runtimes. That sucks.


So… are those files still being taking into account when building Qt, even that Qt is now built by cmake?

qtbase/mkspecs/common/msvc_desktop.conf

Or is there other place for the cmake build?

Thanks!

Regards,

Nuno


> On 26 Jan 2023, at 23:52, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On Thursday, 26 January 2023 07:52:38 PST Nuno Santos wrote:
>> When building Qt 6, is this the same place for this type of settings or the
>> fact that the build is managed by cmake this files are ignored and others
>> are used. If so, which ones?
> 
> I suggest you reconsider. The runtime that MSVC 2015+ uses on Windows 
> (Universal CRT) has been shipped with Windows 10, so there's no reason to 
> statically link to it.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Cloud Software Architect - Intel DCAI Cloud Engineering
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230130/f1e5af64/attachment.htm>


More information about the Interest mailing list