[Development] QThread::create mandatory in Qt 6?

Thiago Macieira thiago.macieira at intel.com
Fri Nov 20 17:08:29 CET 2020


On Friday, 20 November 2020 00:09:46 PST Oliver Wolff wrote:
> The question is not about having one more supported Windows
> configuration. We do not have the resources to add more and more
> configurations to support, so it's more a "replace mingw for Windows
> with something else" situation. As there seems to be a need for an open
> alternative, it looks like we cannot/should not go the clang-cl way, but
> clang-mingw if we replace mingw with a clang toolchain.

That is not an option. We must have one MinGW configuration.

We can choose which compiler and which version thereof, especially if the 
official MinGW comes with an old GCC. If we think Clang + libcompiler-rt + 
libc++ is a better solution for Windows, then we should explore it and even 
make it the default. But unless we do it RIGHT NOW, we will need an overlap 
period with a libstdc++ MinGW, due to ABI break.

The big problem I see on Windows is unfortunately not the C++ standard 
library, but the C standard library. MinGW defaults to crtdll, the one from 
MSVC 6, which is not C99-compliant (MSVC 6 is from 1998 after all). A better 
alternative exists in the form of the Universal CRT, but that only comes by 
default with Windows 10, so we'd need to drop support for 8.1 -- have we done 
that? -- and recompile GCC and/or LLVM so they ask the linker to link to ucrt.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Development mailing list